|Tool Name||Delimited File (CSV)|
|Tool Web Site||https://en.wikipedia.org/wiki/Delimiter-separated_values|
|Supported Methodology||[File System] Data Store (Physical Data Model) via CSV, TXT File|
Import tool: ISO Delimited File (CSV) N/A (https://en.wikipedia.org/wiki/Delimiter-separated_values)
Import interface: [File System] Data Store (Physical Data Model) via CSV, TXT File from Delimited File (CSV)
Import bridge: 'FlatFile' 10.1.0
This bridge detects (reverse engineer) the metadata from a data file of type Delimited File (also known as Flat File).
The detection of such Delimited File is not based on file extensions (such as .CSV, .PSV) but rather by sampling the file content.
The bridge can detect a header row, and use it to create the field name, otherwise generic filed names are created.
The bridge samples up to 1000 rows in order to automatically detect the field separators which by default include:
', (comma)' , '; (semicolon)', ': (colon)', '\t (tab)', '| (pipe)', '0x1 (ctrl+A)'
More separators can be added in the auto detection process (including double characters), see the Miscellaneous parameter.
During the sampling, the bridge also detects the file data types, such as DATE, NUMBER, STRING.
|File||Path to file to import||FILE||*.*||Mandatory|
The character set encoding files use.
FYI: The default on Windows is 'Western European (Windows-1252)' and 'Western European (ISO-8859-1)' on other platforms.
When empty the local of the machine reading the file is used.
|Top rows to skip||Number of rows to skip from top||STRING|
|Delimiter||By default, the delimiter is determined automatically. Use this parameter for special cases when it's needed.||STRING|
|Miscellaneous||Specify miscellaneous options identified with a -letter and value.
For example, -m 4G -f 100 -j -Dname=value -Xms1G
-m the maximum Java memory size whole number (e.g. -m 4G or -m 2500M ).
-v set environment variable(s) (e.g. -v var1=value -v var2="value with spaces").
-j the last option that is followed by Java command line options (e.g. -j -Dname=value -Xms1G).
-hadoop key1=val1;key2=val2 to manualy set hadoop configuration options
-tps 10 maximum threads pool size
-tl 3600s processing time limit in s -seconds m - minutes or h hours;
-fl 1000 processing files count limit;
-delimited.top_rows_skip 1 number of rows to skip while processing csv files
-delimited.extra_separators ~,||,|~ comma separated extra delimiters each of which will be used while processing csv files
-delimited.no_header by default, bridge automatically tries to detect headers while processing csv files(basing on header columns types), use this option to disable headers import(f.e. to hide sensitive data)
-fresh.partition.models - use to import latest modified files when processing partitions defined in Partitioned directories parameter
-subst K: C:/test - use to associate a root path part with a drive or another path.
-skip.download - use to disable dependencies downloading and use only download cache
-prescript [cmd] - runs a script command before bridge execution. Example: -prescript \"script.bat\"
The script must be located in the bin directory, and have .bat or .sh extension.
The script path must not include any parent directory symbol (..)
The script should return exit code 0 to indicate success, or another value to indicate failure.
-disable.partitions.autodetection - use this option to disable automatic partitions detection(when "Partition directories" option is empty)
Mapping information is not available