Commit Graph

8354 Commits

Author SHA1 Message Date
Azat Khuzhin
5070b8a76a Update test_insert_distributed_async_send for recent block conversion changes
After the implicit conversion had been added, String and
Nullable(String) successfully converted, let's use UInt64 over
Nullable(String).
2021-02-02 21:38:29 +03:00
Azat Khuzhin
edd79e3faf Suppress warnings in 01457_create_as_table_function_structure 2021-02-02 10:16:41 +03:00
Azat Khuzhin
594c6b0dd4 Suppress warnings in 00967_insert_into_distributed_different_types 2021-02-02 10:16:41 +03:00
Azat Khuzhin
f53c9a6b25 Fix "Block structure mismatch" for INSERT into Distributed
Add missing conversion (via ConvertingBlockInputStream) for INSERT into
remote nodes (for sync insert, async insert and async batch insert),
like for local nodes (in DistributedBlockOutputStream::writeBlockConverted).

This is required when the structure of the Distributed table differs
from the structure of the local table.

And also add a warning message, to highlight this in logs (since this
works slower).

Fixes: #19888
2021-02-02 10:16:41 +03:00