No commit activity in last 3 years
No release in over 3 years
Embulk formatter plugin to output values of a single column.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.0
>= 10.0
 Project Readme

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