-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc. IMPORT updates #6244
Misc. IMPORT updates #6244
Conversation
@dt - can you please review these misc. IMPORT updates? If you think someone else should review, lmk. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks, though @spaskob might be more qualified to confirm for the DELIMITED and strict quotes stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @Amruta-Ranade and @lnhsingh)
v19.2/import.md, line 735 at r3 (raw file):
'
I'd use something more suggestive for escaping: ''
also elsewhere
v19.2/import.md, line 761 at r3 (raw file):
If you want to escape the character used as the delimiter, use `fields_escaped_by`. {{site.data.alerts.end}}
If you want to escape special symbols, use fields_escaped_by
.
v20.1/import.md, line 749 at r3 (raw file):
{{site.data.alerts.callout_info}} If you want to escape the character used as the delimiter, use `fields_escaped_by`.
If you want to escape the character used as the delimiter, use fields_escaped_by
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @Amruta-Ranade and @spaskob)
v19.2/import.md, line 735 at r3 (raw file):
Previously, spaskob (Spas Bojanov) wrote…
'
I'd use something more suggestive for escaping: ''
also elsewhere
Done
v19.2/import.md, line 761 at r3 (raw file):
Previously, spaskob (Spas Bojanov) wrote…
If you want to escape the character used as the delimiter, use `fields_escaped_by`. {{site.data.alerts.end}}
If you want to escape special symbols, use
fields_escaped_by
.
Done.
v20.1/import.md, line 749 at r3 (raw file):
Previously, spaskob (Spas Bojanov) wrote…
If you want to escape the character used as the delimiter, use
fields_escaped_by
.
Done.
v19.2/import.md
Outdated
|
||
<a name="delimiter"></a> | ||
|
||
Key | Context | Value | | ||
--------------------+-----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
`delimiter` | `CSV DATA ` | The unicode character that delimits columns in your rows. **Default: `,`**. | ||
`comment` | `CSV DATA ` | The unicode character that identifies rows to skip. | ||
`strict_quotes` | `CSV DATA` | Use if CSV import files have quotes (`""`) within rows to prevent multiple rows from being treated as single rows. **Off by default** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Change "Off by default" to "Default: Off" to maintain consistency.
v20.1/import.md
Outdated
|
||
<a name="delimiter"></a> | ||
|
||
Key | Context | Value | | ||
--------------------+-----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
`delimiter` | `CSV DATA ` | The unicode character that delimits columns in your rows. **Default: `,`**. | ||
`comment` | `CSV DATA ` | The unicode character that identifies rows to skip. | ||
`strict_quotes` | `CSV DATA` | Use if CSV import files have quotes (`""`) within rows to prevent multiple rows from being treated as single rows. **Off by default** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Change "Off by default" to "Default: Off" to maintain consistency.
v20.1/import.md
Outdated
@@ -78,14 +78,15 @@ URLs for the files you want to import must use the format shown below. For exam | |||
|
|||
### Import options | |||
|
|||
You can control the `IMPORT` process's behavior using any of the following optional key-value pairs as a `kv_option`. | |||
You can control the `IMPORT` process's behavior using any of the following optional key-value pairs as a `kv_option`. To set multiple import options, use a comma separated list ([see examples](#import-a-delimited-data-file)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: comma separated > comma-separated
v19.2/import.md
Outdated
@@ -78,14 +78,15 @@ URLs for the files you want to import must use the format shown below. For exam | |||
|
|||
### Import options | |||
|
|||
You can control the `IMPORT` process's behavior using any of the following optional key-value pairs as a `kv_option`. | |||
You can control the `IMPORT` process's behavior using any of the following optional key-value pairs as a `kv_option`. To set multiple import options, use a comma separated list ([see examples](#import-a-delimited-data-file)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: comma separated > comma-separated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TFTRs!
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @lnhsingh and @spaskob)
v19.2/import.md, line 81 at r4 (raw file):
Previously, Amruta-Ranade (Amruta Ranade) wrote…
nit: comma separated > comma-separated
Done.
v19.2/import.md, line 89 at r4 (raw file):
Previously, Amruta-Ranade (Amruta Ranade) wrote…
nit: Change "Off by default" to "Default: Off" to maintain consistency.
Done.
Edits: