Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

Embulk plugin that deserialize PHP serialized strings to extract values as new column

Resources

License

Packages

No packages published

Languages