modify error msg

This commit is contained in:
taiyang-li 2022-11-15 16:02:49 +08:00 committed by vdimir
parent acde52a96d
commit f3b72b979c
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -467,7 +467,7 @@ static ColumnWithTypeAndName executeActionForHeader(const ActionsDAG::Node * nod
const auto * array = getArrayJoinColumn(key.column, true); const auto * array = getArrayJoinColumn(key.column, true);
if (!array) if (!array)
throw Exception(ErrorCodes::TYPE_MISMATCH, throw Exception(ErrorCodes::TYPE_MISMATCH,
"ARRAY JOIN of not array: {}", node->result_name); "ARRAY JOIN of not array nor map: {}", node->result_name);
res_column.column = array->getDataPtr()->cloneEmpty(); res_column.column = array->getDataPtr()->cloneEmpty();
break; break;
} }