Respect insert_allow_materialized_columns for INSERT into Distributed()#23349
Conversation
Also not a good enough changelog entry. |
7777c5f to
f394431
Compare
@alexey-milovidov I've adjusted it a little |
|
@Mergifyio update |
|
@azat Do you think, maybe Distributed table should always insert into materialized columns? |
|
Command
|
This an option, but why? Especially if there is |
|
The user only see the structure of Distributed table - if it can successfully insert data into it, materialized columns in remote table should not prevent sending the data. |
So what you are suggesting? |
Unrelated.
Unrelated (it reports an issue in a file that this PR does not touches - PocoHTTPClient.cpp)
Does not looks related either. |
7c0c74f to
4d737a5
Compare
I have the following use case, I have something like distributed dictionary (since overall dictionary is quite large and will not fit into memory of one node). Materialized columns can be removed from Distributed table, but then you cannot query them via Distributed table. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Respect
insert_allow_materialized_columns(allows materialized columns) for INSERT intoDistributedtable.Follow-up for: #5429
Refs: #16897