mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
Removed (obsolete) special handling for Arrays in the left hand side of IN (continued) #2113
This commit is contained in:
parent
cf1a2241af
commit
30dd11f8ca
@ -16,7 +16,6 @@
|
||||
#include <Parsers/formatAST.h>
|
||||
|
||||
#include <DataTypes/DataTypeSet.h>
|
||||
#include <DataTypes/DataTypeArray.h>
|
||||
#include <DataTypes/DataTypeNullable.h>
|
||||
#include <DataTypes/DataTypeTuple.h>
|
||||
#include <DataTypes/NestedUtils.h>
|
||||
@ -1664,9 +1663,6 @@ void ExpressionAnalyzer::makeExplicitSet(const ASTFunction * node, const Block &
|
||||
else
|
||||
{
|
||||
DataTypePtr left_type = sample_block.getByName(left_arg->getColumnName()).type;
|
||||
if (const DataTypeArray * array_type = typeid_cast<const DataTypeArray *>(left_type.get()))
|
||||
set_element_types.push_back(array_type->getNestedType());
|
||||
else
|
||||
set_element_types.push_back(left_type);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user