Commit Graph

10103 Commits

Author SHA1 Message Date
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