disable hash groupby bypass path when estimiate stat
This commit is contained in:
@ -938,6 +938,7 @@ Timestamp{whitespace}?\"[^\"]*\" {
|
||||
}
|
||||
<hint>NO_GATHER_OPTIMIZER_STATISTICS { return NO_GATHER_OPTIMIZER_STATISTICS; }
|
||||
<hint>GATHER_OPTIMIZER_STATISTICS { return GATHER_OPTIMIZER_STATISTICS; }
|
||||
<hint>DBMS_STATS { return DBMS_STATS; }
|
||||
<hint>LOG_LEVEL { return LOG_LEVEL; }
|
||||
<hint>LEADING { return LEADING_HINT; }
|
||||
<hint>ORDERED { return ORDERED; }
|
||||
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user