aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-12-02 11:01:12 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-12-02 11:13:15 +0300
commit5100fde2e4588afd4c2a2cb75a909736963c7e35 (patch)
tree835db2adde07bd736524f5e0186e3bd3364c8888
parente524bc608e30bc4fcfd01e857cb1df5d4a23b530 (diff)
downloadydb-5100fde2e4588afd4c2a2cb75a909736963c7e35.tar.gz
Intermediate changes
-rw-r--r--contrib/clickhouse/src/Storages/AlterCommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/clickhouse/src/Storages/AlterCommands.cpp b/contrib/clickhouse/src/Storages/AlterCommands.cpp
index c5d8986af2..0baa9f833e 100644
--- a/contrib/clickhouse/src/Storages/AlterCommands.cpp
+++ b/contrib/clickhouse/src/Storages/AlterCommands.cpp
@@ -1148,7 +1148,7 @@ void AlterCommands::validate(const StoragePtr & table, ContextPtr context) const
/// So we don't allow to do it for now.
if (command.data_type)
{
- const GetColumnsOptions options(GetColumnsOptions::AllPhysical);
+ const GetColumnsOptions options(GetColumnsOptions::All);
const auto old_data_type = all_columns.getColumn(options, column_name).type;
bool new_type_has_object = command.data_type->hasDynamicSubcolumns();