Skip to content

Commit 9174bff

Browse files
authored
Merge pull request #972 from data-integrations/PLUGIN-1118
[PLUGIN-1118] Update GCS batchsource document for Enable Quoted Values.
2 parents be6ede4 + 7322d9a commit 9174bff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/GCSFile-batchsource.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ If the format is 'text', the schema must contain a field named 'body' of type 's
5050

5151
**Skip Header** Whether to skip the first line of each file. Supported formats are 'text', 'csv', 'tsv', 'delimited'.
5252

53+
**Enable Quoted Values** Whether to treat content between quotes as a value. This value will only be used if the format
54+
is 'csv', 'tsv' or 'delimited'. For example, if this is set to true, a line that looks like `1, "a, b, c"` will output two fields.
55+
The first field will have `1` as its value and the second will have `a, b, c` as its value. The quote characters will be trimmed.
56+
The newline delimiter cannot be within quotes.
57+
58+
It also assumes the quotes are well enclosed. The left quote will match the first following quote right before the delimiter. If there is an
59+
unenclosed quote, an error will occur.
60+
5361
**Service Account** - service account key used for authorization
5462

5563
* **File Path**: Path on the local file system of the service account key used for

0 commit comments

Comments
 (0)