Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```