Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
config.yml for using embulk-filter-myapp
in:
type: file
path_prefix: /Users/myoshiz/devel/try1/csv/sample_
decoders:
- {type: gzip}
parser:
charset: UTF-8
newline: CRLF
type: csv
delimiter: ','
quote: '"'
escape: ''
skip_header_lines: 1
allow_extra_columns: false
allow_optional_columns: false
columns:
- {name: id, type: long}
- {name: account, type: string}
- {name: time, type: timestamp, format: '%Y-%m-%d %H:%M:%S'}
- {name: comment, type: string}
filters:
- type: myapp
exec: {}
out: {type: stdout}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment