mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
Update complie expressions.
This commit is contained in:
parent
f07c5ffefd
commit
8eab6b7694
@ -635,8 +635,12 @@ static LLVMFunction::CompileDAG getCompilableDAG(ActionsDAG::Node * root, std::v
|
||||
: (is_compilable_function ? LLVMFunction::CompileNode::NodeType::FUNCTION
|
||||
: LLVMFunction::CompileNode::NodeType::INPUT);
|
||||
|
||||
for (const auto * child : frame.node->children)
|
||||
node.arguments.push_back(positions[child]);
|
||||
if (node.type == LLVMFunction::CompileNode::NodeType::FUNCTION)
|
||||
for (const auto * child : frame.node->children)
|
||||
node.arguments.push_back(positions[child]);
|
||||
|
||||
if (node.type == LLVMFunction::CompileNode::NodeType::CONSTANT)
|
||||
node.column = frame.node->column;
|
||||
|
||||
if (node.type == LLVMFunction::CompileNode::NodeType::INPUT)
|
||||
children.emplace_back(frame.node);
|
||||
|
@ -45,7 +45,6 @@ public:
|
||||
|
||||
/// For CONSTANT
|
||||
ColumnPtr column;
|
||||
llvm::Value * value = nullptr;
|
||||
|
||||
/// For FUNCTION
|
||||
FunctionBasePtr function;
|
||||
|
Loading…
Reference in New Issue
Block a user