-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
"Mismatch column sizes" when inserting default Tuple from JSONEachRow #5653
Comments
Turns out the Tuple type is irrelevant. The core problem is that we can't determine the size of a Block that has no columns. We run into this problem at some point, when all the columns of a block are to be filled with defaults. We have not received any complaints about this issue, and the way we work with Blocks is going to be changed in processors pr (#4914), so let's wait for it. |
I got the same problem when using default values with CSV format. I'm using ClickHouse 19.17.5 and input_format_defaults_for_omitted_fields is on by default. For example:
Same problem with TSKV format:
No matter what I tried, the same error was returned. The input_format_defaults_for_omitted_fields feature doesn't seem to work at all. |
|
The text was updated successfully, but these errors were encountered: