Flat File
- 23 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Flat File
- Updated on 23 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Documentation
Examples
Load a quoted CSV file with a header
The following file needs to be loaded:
The file above is comma separated, with no quote character around the data fields.
In order to load this file:
- Reference
FlatFileSourceCSV.csv
into theFile Name
input. - Select
comma
for theDelimiter
input. - Select
NONE
for theQuote Character
input. - Click
Infer Data Types
- Click
Preview
, verify the preview data - Click
Save
The node is now ready to be connected to another node.
Load an unquoted PSV file
The file above is pipe separated, with no quote character around the data fields.
In order to load this file,
- Reference
FlatFileSourcePSV.psv
into theFile Name
input. - Select
pipe
for theDelimiter
input. - Select
DOUBLE
for theQuote Character
input. - Click
Infer Data Types
- Click
Preview
, verify the preview data - Click
Save
The node is now ready to be connected to another node.
Load a CSV file, change field data types
The file above is pipe separated, with no quote character around the data fields.
In order to load this file,
- Reference
FlatFileSourceDataTypesOverride.psv
into theFile Name
input. - Select
pipe
for theDelimiter
input. - Select
DOUBLE
for theQuote Character
input. - Click
Infer Data Types
- Click
Advanced
- Change a field data type
- Click
Preview
, verify the preview data - Click
Save
The node is now ready to be connected to another node.
Was this article helpful?