mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Added fake range for ASTIdentifier in order to fix multiple global in. [#CLICKHOUSE-3734]
This commit is contained in:
parent
d0341077ee
commit
5e22f19258
@ -26,7 +26,7 @@ public:
|
||||
Kind kind;
|
||||
|
||||
ASTIdentifier(const String & name_, const Kind kind_ = Column)
|
||||
: name(name_), kind(kind_) {}
|
||||
: name(name_), kind(kind_) { range = StringRange(name.data(), name.data() + name.size()); }
|
||||
|
||||
/** Get the text that identifies this element. */
|
||||
String getID() const override { return "Identifier_" + name; }
|
||||
|
@ -183,6 +183,7 @@ BlockInputStreams StorageMerge::read(
|
||||
|
||||
SelectQueryInfo modified_query_info;
|
||||
modified_query_info.query = modified_query_ast;
|
||||
modified_query_info.sets = query_info.sets;
|
||||
|
||||
BlockInputStreams source_streams;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user