Embulk parser plugin not to parse at all
Switch branches/tags
Nothing to show
Clone or download
Latest commit 059f1e3 May 18, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper initial commit Oct 27, 2015
lib/embulk initial commit Oct 27, 2015
src Update NoneParserPlugin.java Apr 27, 2016
.gitignore Using csv formatter looks enough Oct 27, 2015
CHANGELOG.md 0.2.0 Feb 22, 2016
LICENSE.txt initial commit Oct 27, 2015
README.md Rename message_key => column_name Feb 22, 2016
build.gradle 0.2.0 Feb 22, 2016
example.txt initial commit Oct 27, 2015
example.yml Rename message_key => column_name Feb 22, 2016
gradlew initial commit Oct 27, 2015
gradlew.bat initial commit Oct 27, 2015
settings.gradle add settings.gradle May 18, 2016

README.md

None parser plugin for Embulk

Embulk parser plugin not to parse at all

Install

$ embulk gem install embulk-parser-none

Overview

  • Plugin type: parser
  • Guess supported: no

Configuration

  • column_name: A column name which this plugin outputs (string, default: "payload")

Example

in:
  type: file
  path_prefix: example.txt
  parser:
    type: none
    column_name: payload

Assume the input file (example.txt) is as following:

foo bar baz
foo bar baz

then this plugin treats as:

+----------------+
| payload:string |
+----------------+
| foo bar baz    |
| foo bar baz    |
+----------------+

To recover a file, you may use embulk-formatter-single_value as:

out:
  type: file
  path_prefix: example.txt
  sequence_format: ""
  file_ext: .out
  formatter:
    type: single_value

or csv formatter as:

out:
  type: file
  path_prefix: example.txt
  sequence_format: ""
  file_ext: .out
  formatter:
    type: csv
    delimiter: 0
    quote_policy: NONE
    header_line: false

ChangeLOG

CHANGELOG.md

Development

Run example:

$ embulk gem install embulk-formatter-single_value
$ ./gradlew classpath
$ embulk run -I lib example.yml

Run test:

$ ./gradlew test

Release gem:

$ ./gradlew gemPush