398 for (
size_t input_idx = 0; input_idx < rel_left_deep_join->
inputCount(); ++input_idx) {
399 auto const input_node = rel_left_deep_join->
getInput(input_idx);
400 auto const scan_node =
dynamic_cast<const RelScan*
>(input_node);
403 target_table_key.
db_id = scan_node->getCatalog().getDatabaseId();
404 target_table_key.table_id = scan_node->getTableDescriptor()->tableId;
406 target_table_key.table_id = -1 * input_node->getId();
408 if (target_table_key == table_key) {
const RelAlgNode * getInput(const size_t idx) const
const size_t inputCount() const