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
skip only not string #116
skip only not string #116
Conversation
Is this PR needed @glebvk85 ? |
Yes, it is necessary, this is the correction of the mistake I made |
And what about the other types, like FixedString(N), LowCardinality(String), Nullable(String) - what will happen with them? |
Yes, you need to skip all types that do not convert to string |
All these types also use the string parser: |
Yes, when using the tsv format, we can never separate the empty string as part of the data from the empty delimiter string. I was hoping to do it with some heuristics, but this is the wrong way. Now it is better to skip the blank line, as it was in the previous version. To solve the problem, go to the format JSONCompactEachRow https://clickhouse.tech/docs/ru/interfaces/formats/#jsoncompacteachrowwithnamesandtypes |
TestTextRowsEmpty test failing |
When does an empty delimiter string occur in the result value? |
https://clickhouse.tech/docs/en/sql-reference/statements/select/group-by/#with-totals-modifier In TabSeparated* formats, the row comes after the main result, preceded by an empty row (after the other data). |
Sorry, I was wrong: we can leave only one value if it is of string type, otherwise it is a separator.