Skip to content
Embulk plugin that deserialize PHP serialized strings to extract values as new column
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/embulk/filter
.gitignore
.ruby-version
Gemfile
LICENSE.txt
README.md
Rakefile
embulk-filter-pherialize.gemspec

README.md

Pherialize filter plugin for Embulk

deserialize PHP serialized strings to extract values as new column.

see. keichan34/php-serialize

Overview

  • Plugin type: filter

Configuration

  • serialized_column: target serialized column (string, required)
  • extract_fields: out key name (array, default: [])
  • drop_serialized_column: drop serialized column from out schema (boolean, default: false)

Example

filters:
  - type: pherialize
    serialized_column: serialized_data
    drop_serialized_column: true
    extract_fields:
      - {name: id, type: long}
      - {name: name, type: string}
out:
  type: stdout

Build

$ rake
You can’t perform that action at this time.