Skip to content

Commit

Permalink
Doc: Update COPY FROM options (MaterializeInc#9279)
Browse files Browse the repository at this point in the history
* Add HEADER option for COPY FROM FORMAT CVS.
  • Loading branch information
Micole Sudberg authored Dec 2, 2021
1 parent e303dd6 commit 8e1acce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/user/content/sql/copy-from.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Name | Permitted values| Default value | Description
`NULL` | Single-quoted strings | Format-dependent | Specifies the string that represents a _NULL_ value.
`QUOTE` | Single-quoted one-byte character | `"` | Specifies the character to signal a quoted string, which may contain the `DELIMITER` value (without beginning new columns). To include the `QUOTE` character itself in column, wrap the column's value in the `QUOTE` character and prefix all instance of the value you want to literally interpret with the `ESCAPE` value. _`FORMAT CSV` only_
`ESCAPE` | Single-quoted strings | `QUOTE`'s value | Specifies the character to allow instances of the `QUOTE` character to be parsed literally as part of a column's value. _`FORMAT CSV` only_
`HEADER` | `boolean` | `boolean` | Specifies that the file contains a header line with the names of each column in the file. The first line is ignored on input. _`FORMAT CSV` only._

Note that `DELIMITER` and `QUOTE` must use distinct values.

Expand Down

0 comments on commit 8e1acce

Please sign in to comment.