-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
SQL: Add option to provide the delimiter for the CSV format #59907
Commits on Jul 20, 2020
-
Add option to provide the delimiter to the CSV fmt
This adds the option to provide the desired character as the separator for the CSV format (the default remains comma). A set of characters are excluded though - like CR, LF, `"` - to avoid slipping onto the CSV-dialects slope. The tab is also forbidden, the user needs to choose the "tsv" format explicitely. The TSV format also gets a needed supplemental escaping, that of the '\' character.
Configuration menu - View commit details
-
Copy full SHA for b910a89 - Browse repository at this point
Copy the full SHA b910a89View commit details
Commits on Jul 22, 2020
-
Correct delimiter value propagation. Adress comm.
Fix the way the delimiter is being passed around, removing the CSV member - since its instantiation is a singleton - and pushing it through function arguments. The commit fixes a few issues with the "header" URL attribute: - these was no longer usable, since it wasn't "consumed" by RestSqlQueryAction before generating the answer (triggering an error responce on use); - its value was only checked against "absent", so an incorrect value (typo like "abaent") could have silently generated an unexpected reply. - missing Documentation for the "delimiter" attribute has also been added.
Configuration menu - View commit details
-
Copy full SHA for 6d5b28a - Browse repository at this point
Copy the full SHA 6d5b28aView commit details
Commits on Jul 23, 2020
-
Adress review comments. Unescape param
The commit unescapes the deliter param. This is required for the doc-sourced tests. Also, implement a switch for param value validation and fix docs.
Configuration menu - View commit details
-
Copy full SHA for 2b3c351 - Browse repository at this point
Copy the full SHA 2b3c351View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9bcff1 - Browse repository at this point
Copy the full SHA d9bcff1View commit details -
Update docs/reference/sql/endpoints/rest.asciidoc
Co-authored-by: Marios Trivyzas <matriv@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1b3958d - Browse repository at this point
Copy the full SHA 1b3958dView commit details
Commits on Jul 28, 2020
-
- rip out anything which isn't Delimiter-related. - undo 'hasHeader' method renaming.
Configuration menu - View commit details
-
Copy full SHA for 41c3fbf - Browse repository at this point
Copy the full SHA 41c3fbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccf1d86 - Browse repository at this point
Copy the full SHA ccf1d86View commit details
Commits on Jul 29, 2020
-
Minor doc update. One more fix revert
Update the doc to make it clear that the textual CSV, TSV and TXT formats pass the cursor back to the user through the Cursor HTTP header.
Configuration menu - View commit details
-
Copy full SHA for 6d014df - Browse repository at this point
Copy the full SHA 6d014dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5adc138 - Browse repository at this point
Copy the full SHA 5adc138View commit details