mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Fix possible error 'Cannot convert column Function to mask'
This commit is contained in:
parent
6608c69775
commit
08c009ab50
@ -159,8 +159,8 @@ static void setLazyExecutionInfo(
|
||||
|
||||
const ActionsDAGReverseInfo::NodeInfo & node_info = reverse_info.nodes_info[reverse_info.reverse_index.at(node)];
|
||||
|
||||
/// If node is used in result, we can't enable lazy execution.
|
||||
if (node_info.used_in_result)
|
||||
/// If node is used in result or it doesn't have parents, we can't enable lazy execution.
|
||||
if (node_info.used_in_result || node_info.parents.empty())
|
||||
lazy_execution_info.can_be_lazy_executed = false;
|
||||
|
||||
/// To fill lazy execution info for current node we need to create it for all it's parents.
|
||||
|
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1,2 @@
|
||||
SELECT 1 FROM (SELECT arrayJoin(if(empty(range(number)), [1], [2])) from numbers(1));
|
||||
|
Loading…
Reference in New Issue
Block a user