fix some optimizer bugs
This commit is contained in:
@ -513,9 +513,8 @@ int ObLoadDataResolver::resolve_hints(const ParseNode &node)
|
||||
}
|
||||
case T_PARALLEL: {
|
||||
if (1 != hint_node->num_child_) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("stmt parallel degree node should have 1 child",
|
||||
K(ret), K(hint_node->num_child_));
|
||||
/* ignore parallel(auto) and parallel(manual)*/
|
||||
LOG_WARN("Unused parallel hint");
|
||||
} else if (OB_ISNULL(hint_node->children_[0])) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("child of stmt parallel degree node should not be NULL", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user