disable hash groupby bypass path when estimiate stat

This commit is contained in:
Larry955
2023-03-09 12:44:37 +00:00
committed by ob-robot
parent 52c3cde4eb
commit 3b47aa7ccd
9 changed files with 33 additions and 6 deletions

View File

@ -184,7 +184,7 @@ USE_DISTRIBUTED_DML NO_USE_DISTRIBUTED_DML
// direct load data hint
DIRECT
// hint related to optimizer statistics
APPEND NO_GATHER_OPTIMIZER_STATISTICS GATHER_OPTIMIZER_STATISTICS
APPEND NO_GATHER_OPTIMIZER_STATISTICS GATHER_OPTIMIZER_STATISTICS DBMS_STATS
// other
NEG_SIGN
@ -8453,6 +8453,10 @@ READ_CONSISTENCY '(' consistency_level ')'
{
malloc_terminal_node($$, result->malloc_pool_, T_GATHER_OPTIMIZER_STATISTICS);
}
| DBMS_STATS
{
malloc_terminal_node($$, result->malloc_pool_, T_DBMS_STATS);
}
;
transform_hint: