Created
February 25, 2015 05:30
-
-
Save yaggytter/5ebb286fe9a6b2d9e9da to your computer and use it in GitHub Desktop.
embulk_gzipencorder.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in: | |
type: file | |
path_prefix: /Users/yagasakia/tmp/embulk/embulk-example/csv/sample_ | |
parser: | |
charset: UTF-8 | |
newline: CRLF | |
type: csv | |
delimiter: ',' | |
quote: '"' | |
escape: '' | |
null_string: 'NULL' | |
header_line: true | |
columns: | |
- {name: id, type: long} | |
- {name: account, type: long} | |
- {name: time, type: timestamp, format: '%Y-%m-%d %H:%M:%S'} | |
- {name: purchase, type: timestamp, format: '%Y%m%d'} | |
- {name: comment, type: string} | |
exec: {} | |
out: | |
type: file | |
path_prefix: ./sampleo | |
file_ext: .csv.gz | |
formatter: | |
type: csv | |
encoders: | |
- {type: gzip} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment