Skip to content

reizist/embulk-filter-convert_unicode_sequence_to_string

Repository files navigation

Test CI

Coverage Status

Convert Unicode Sequence To String filter plugin for Embulk

Convert unicode sequence to string filter plugin.

Overview

  • Plugin type: filter

Configuration

  • target_columns: columns to convert (array of string)

Example

Say input.csv is as follows:

id,name
0,hoge\u0000
1,fuga\u0041
2,normal_string
filters:
  - type: convert_unicode_sequence_to_string
    target_columns:
      - name

converts unicode escape sequence like below:

id,name
0,hoge
1,fugaA
2,normal_string

Run Example

$ ./gradlew gem
$ embulk run ./embulk-example/seed.yml -I lib

docker environment:

docker-compose run embulk bash
embulk run ./embulk-example/seed.yml -I lib

Build

$ ./gradlew gem  # -t to watch change of files and rebuild continuously

Development

./gradlew classpath # build
./gradlew checkstyle # check style

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published