Details
-
Improvement
-
Status: Reopened
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
The following options can be implemented for the CSV format:
- Line separator pattern
- Field separator pattern
- Set of quote characters
- Escape sequence start character
- Line comment character
Escape sequences support is important for this feature. There is a draft code for handling escape sequences in a branch called ignite-7372 (see IGNITE-7372 for details).
Syntax example:
COPY ... FORMAT CSV [FIELDSEP='column-separators-regexp'] [LINESEP='row-separators-regexp'] [QUOTE='quote-chars'] [ESCAPE='escape-char'] [COMMENT='line-comment-char']
We may also want:
- Line comments handling
- Spaces trimming
- Empty lines skipping
Attachments
Issue Links
- contains
-
IGNITE-12852 Comma in field is not supported by COPY command
- Resolved
- is blocked by
-
IGNITE-6917 SQL: implement COPY command for efficient data loading
- Resolved
- is related to
-
IGNITE-7539 SQL COPY command: implement NULL escape sequence handling
- Open
-
IGNITE-17573 SQL COPY command should support all RFC4180 compatible CSV files
- Open
- relates to
-
IGNITE-7372 Implement escape sequences handling in internal SQL parser
- Closed
- links to