This commit is contained in:
nikitamikhaylov 2020-11-05 19:11:32 +03:00
parent 488909208b
commit 83af1f9bbb

View File

@ -375,7 +375,7 @@ void ExpressionAction::execute(Block & block, bool dry_run) const
auto source = block.getByName(source_name);
block.erase(source_name);
source.column = source.column->convertToFullColumnIfConst();
const ColumnArray * array = typeid_cast<const ColumnArray *>(source.column.get());
if (!array)
throw Exception("ARRAY JOIN of not array: " + source_name, ErrorCodes::TYPE_MISMATCH);