Embulk formatter plugin to output values of a single column (a kind of reverse plugin of embulk-parser-none)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config/checkstyle
example
gradle/wrapper
lib/embulk/formatter
src
.gitignore
CHANGELOG.md
LICENSE.txt
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Embulk formatter plugin to output values of a single column

Embulk formatter plugin to output values of a single column. This is a kind of reverse of embulk-parser-none

Overview

  • Plugin type: formatter

Configuration

  • column_name: A column name which this plugin outputs (string, default: null which extracts the first column)
  • null_string: A string value to express NULL value (string, default: "")
  • timestamp_format: Timestamp format for timestamp column (string, default: "%Y-%m-%d %H:%M:%S.%6N %z")
  • timezone: Timezone for timesatmp column (string, default: UTC)

Example

out:
  type: an output plugin supporting a formatter plugin such as `file`
  formatter:
    type: single_value
    column_name: column1
    null_string: ""

See ./example for more.

Changelog

CHANGELOG.md

Development

Run example:

# embulk gem install embulk-parser-none
$ ./gradlew classpath
$ embulk run -I lib example/example.yml

Run test:

$ ./gradlew test

Release gem:

$ ./gradlew gemPush