fix generated recursive union all plan bug using the distributed join method hint

This commit is contained in:
obdev
2024-02-10 11:26:53 +00:00
committed by ob-robot
parent 21c31706a5
commit 229074a275
4 changed files with 42 additions and 32 deletions

View File

@ -2008,6 +2008,15 @@ int ObLogPlanHint::check_status() const
return ret;
}
bool ObLogPlanHint::is_spm_evolution() const
{
bool bret = false;
#ifdef OB_BUILD_SPM
bret = is_spm_evolution_;
#endif
return bret;
}
int LogLeadingHint::init_leading_info(const ObDMLStmt &stmt,
const ObQueryHint &query_hint,
const ObHint *hint)

View File

@ -422,6 +422,7 @@ struct ObLogPlanHint
const bool basic_table_only,
LogTableHint *&log_table_hint);
int check_status() const;
bool is_spm_evolution() const;
const LogTableHint* get_log_table_hint(uint64_t table_id) const;
const LogTableHint* get_index_hint(uint64_t table_id) const;
int64_t get_parallel(uint64_t table_id) const;