PhysicalInputSet anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitInput |
( |
const RexInput * |
input | ) |
const |
|
inlineoverride |
PhysicalInputSet anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitOperator |
( |
const RexOperator * |
oper | ) |
const |
|
inlineoverride |
Definition at line 73 of file QueryPhysicalInputsCollector.cpp.
References CHECK_EQ, CHECK_LT, get_node_output(), RexOperator::getOperand(), run_benchmark_import::result, and RexOperator::size().
75 if (
auto window_oper = dynamic_cast<const RexWindowFunctionOperator*>(oper)) {
76 for (
const auto& partition_key : window_oper->getPartitionKeys()) {
77 if (
auto input = dynamic_cast<const RexInput*>(partition_key.get())) {
78 const auto source_node = input->getSourceNode();
79 if (
auto filter_node = dynamic_cast<const RelFilter*>(source_node)) {
84 CHECK_EQ(filter_node->inputCount(), size_t(1));
85 const auto parent_node = filter_node->getInput(0);
87 CHECK_LT(input->getIndex(), node_inputs.size());
94 for (
size_t i = 0; i < oper->
size(); i++) {
const RexScalar * getOperand(const size_t idx) const
RANodeOutput get_node_output(const RelAlgNode *ra_node)
PhysicalInputSet anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitSubQuery |
( |
const RexSubQuery * |
subquery | ) |
const |
|
inlineoverride |
The documentation for this class was generated from the following file: