No commit activity in last 3 years
No release in over 3 years
Embulk plugin that deserialize PHP serialized strings to extract values as new column
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.10.6
>= 0.8.8
>= 0
>= 10.0

Runtime

 Project Readme

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