Sha256: c3aa3d59a4ea2662cd49cadcb685812ee5d7e35c6d4eee6dd7e05d13c409411e

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 KB

Contents

# 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](https://github.com/sonots/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

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

See [./example](./example) for more.

## Changelog

[CHANGELOG.md](./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
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
embulk-formatter-single_value-0.3.1 README.md
embulk-formatter-single_value-0.3.0 README.md
embulk-formatter-single_value-0.2.0 README.md