Skip to content

Instantly share code, notes, and snippets.

@sakama
Last active October 26, 2015 04:53
Show Gist options
  • Save sakama/18326bb5f74377d715db to your computer and use it in GitHub Desktop.
Save sakama/18326bb5f74377d715db to your computer and use it in GitHub Desktop.
config.yml for tsv that contains '"' in record
```yaml
in:
type: file
path_prefix: sample.tsv
parser:
type: csv
delimiter: "\t"
quote: null
escape: null
columns:
- {name: column1, type: string}
- {name: column2, type: string}
- {name: column3, type: string}
- {name: column4, type: string}
out:
type: file
path_prefix: '/tmp/sample.'
file_ext: 'csv'
overwrite: true
formatter:
type: csv
delimiter: "\t"
quote: '0'
quote_policy: NONE
header_line: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment