Skip to content

Instantly share code, notes, and snippets.

@shun0102
Last active August 29, 2015 14:18
Show Gist options
  • Save shun0102/de44bf83c00d748576d4 to your computer and use it in GitHub Desktop.
Save shun0102/de44bf83c00d748576d4 to your computer and use it in GitHub Desktop.
embulk guess guess.yml -g jsonl -o guess_output.yml
in:
type: file
path_prefix: ./test
in:
type: file
path_prefix: ./test
parser:
charset: UTF-8
newline: CRLF
type: jsonl
delimiter: ','
quote: ''
escape: ''
skip_header_lines: 0
columns:
- {name: c0, type: string}
- {name: c1, type: string}
schema:
- {name: name, type: string}
- {name: age, type: long}
exec: {}
{ "name" : "apple", "age" : 10 }
{ "name" : "banana", "age" : 16 }
{ "name" : "orange", "age" : 17 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment