-
Notifications
You must be signed in to change notification settings - Fork 145
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
Make tsv outputFormat configurable like csv #438
Comments
I went ahead and created a PR for this: #439 |
Thanks for this contribution. I have a few questions in order to understand why it is necessary. What's the difference between CSV and TSV, besides the difference in delimiter (comma vs tab). So if the delimiter is configurable in CSV, isn't that sufficient to create any delimited format? Why do your users want to configure TSV instead? Could we make a smaller change, such as to add I'd like to encourage users to customize CSV and keep TSV a more limited variation. |
Your point makes sense to create any format with CSV, although I didn't find it easy to use. If you say that we should keep TSV to a more limited version I think setting tab as a separator in CSV should be fixed. |
Handling @snuyanzin, What do you think we should do? Make TSV more like CSV, or keep TSV as is and make CSV more configurable? Or, I suppose, a new format DSV (delimiter-separated values) that is configurable. |
sorry, somehow I missed this ... |
another possible solution to that |
I'm closing this PR as csv is configurable and it is posible to set the csvDelimiter to tab if you write there an actual tab character, or copy it yes. |
SQLLINE-50 made it possible to specify delimiter and quote character for CSV output format.
Make it for the tsv format as well.
Before the commit c1bda8d
the tsv separator was ' and after this it became the DEFAULT_QUOTE_CHARACTER which is ".
It caused a behaviour change which some users didn't like.
The text was updated successfully, but these errors were encountered: