Sha256: b45dab3365ddf07acc0c94fff71f349a716e1720042f3d3233a05cf23208c202
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
# Split filter plugin for Embulk split record with delimiter. ## Overview * **Plugin type**: filter ## Configuration - **delimiter**: delimiter. (boolean, default: `,`) - **keep_input**: keep input columns. (boolean, default: `true`) - **target_key**: target key name. (string, required) - **output_key**: output key name. (string, default: `null`) ## Example(split column output other column) ```yaml - type: split delimiter: ',' keep_input: true target_key: keywords output_key: keyword ``` ### input ``` { "keywords" : "Ruby,Java,Python" } ``` As below ``` { "keywords" : "Ruby,Java,Python", "keyword" : "Ruby" } { "keywords" : "Ruby,Java,Python", "keyword" : "Java" } { "keywords" : "Ruby,Java,Python", "keyword" : "Python" } ``` ## Example(split column overwrite) ```yaml - type: split delimiter: ',' keep_input: true target_key: keywords ``` ### input ``` { "keywords" : "Ruby,Java,Python", "keep_column" : "test" } ``` As below ``` { "keywords" : "Ruby", "keep_column" : "test" } { "keywords" : "Java", "keep_column" : "test" } { "keywords" : "Python", "keep_column" : "test" } ``` ## Build ``` $ ./gradlew gem # -t to watch change of files and rebuild continuously ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
embulk-filter-split-0.2.0 | README.md |
embulk-filter-split-0.1.2 | README.md |
embulk-filter-split-0.1.1 | README.md |
embulk-filter-split-0.1.0 | README.md |