fix sql_statistics bug
This commit is contained in:
@ -528,6 +528,18 @@ int ObLoadDataResolver::resolve_hints(const ParseNode &node)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case T_APPEND: {
|
||||
if (OB_FAIL(stmt_hints.set_value(ObLoadDataHint::APPEND, 1))) {
|
||||
LOG_WARN("fail to set append", K(ret));
|
||||
}
|
||||
break;
|
||||
}
|
||||
case T_GATHER_OPTIMIZER_STATISTICS: {
|
||||
if (OB_FAIL(stmt_hints.set_value(ObLoadDataHint::GATHER_OPTIMIZER_STATISTICS, 1))) {
|
||||
LOG_WARN("fail to set gather optimizer statistics", K(ret));
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
ret = OB_ERR_HINT_UNKNOWN;
|
||||
LOG_WARN("Unknown hint", "hint_name", get_type_name(hint_node->type_));
|
||||
|
||||
Reference in New Issue
Block a user