Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cynipe/embulk-filter-pherialize
Embulk plugin that deserialize PHP serialized strings to extract values as new column
https://github.com/cynipe/embulk-filter-pherialize
Last synced: about 16 hours ago
JSON representation
Embulk plugin that deserialize PHP serialized strings to extract values as new column
- Host: GitHub
- URL: https://github.com/cynipe/embulk-filter-pherialize
- Owner: cynipe
- License: mit
- Created: 2016-04-11T02:54:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-02T10:36:17.000Z (over 8 years ago)
- Last Synced: 2024-12-05T16:17:50.327Z (17 days ago)
- Language: Ruby
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Pherialize filter plugin for Embulk
deserialize PHP serialized strings to extract values as new column.
see. [keichan34/php-serialize](https://github.com/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
```yaml
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
```