Merge branch 'column_store'
Co-authored-by: wangt1xiuyi <13547954130@163.com> Co-authored-by: yangqise7en <877793735@qq.com> Co-authored-by: Zach41 <zach_41@163.com>
This commit is contained in:
		| @ -876,6 +876,7 @@ ObItemType ObHint::get_hint_type(ObItemType type) | ||||
|  | ||||
|     // optimize hint | ||||
|     case T_NO_USE_DAS_HINT:     return T_USE_DAS_HINT; | ||||
|     case T_NO_USE_COLUMN_STORE_HINT:  return T_USE_COLUMN_STORE_HINT; | ||||
|     case T_ORDERED:             return T_LEADING; | ||||
|     case T_NO_USE_MERGE:        return T_USE_MERGE; | ||||
|     case T_NO_USE_HASH:         return T_USE_HASH; | ||||
| @ -935,6 +936,7 @@ const char* ObHint::get_hint_name(ObItemType type, bool is_enable_hint /* defaul | ||||
|     case T_FULL_HINT:           return "FULL"; | ||||
|     case T_NO_INDEX_HINT:       return "NO_INDEX"; | ||||
|     case T_USE_DAS_HINT:        return is_enable_hint ? "USE_DAS" : "NO_USE_DAS"; | ||||
|     case T_USE_COLUMN_STORE_HINT: return is_enable_hint ? "USE_COLUMN_TABLE" : "NO_USE_COLUMN_TABLE"; | ||||
|     case T_INDEX_SS_HINT:       return "INDEX_SS"; | ||||
|     case T_INDEX_SS_ASC_HINT:   return "INDEX_SS_ASC"; | ||||
|     case T_INDEX_SS_DESC_HINT:  return "INDEX_SS_DESC"; | ||||
| @ -1914,7 +1916,9 @@ int ObIndexHint::print_hint_desc(PlanText &plan_text) const | ||||
|   int64_t &pos = plan_text.pos_; | ||||
|   if (OB_FAIL(table_.print_table_in_hint(plan_text))) { | ||||
|     LOG_WARN("fail to print table in hint", K(ret)); | ||||
|   } else if (T_FULL_HINT == hint_type_ || T_USE_DAS_HINT == hint_type_) { | ||||
|   } else if (T_FULL_HINT == hint_type_ || | ||||
|              T_USE_DAS_HINT == hint_type_ || | ||||
|              T_USE_COLUMN_STORE_HINT == hint_type_) { | ||||
|     /* do nothing */ | ||||
|   } else if (OB_FAIL(BUF_PRINTF(" \"%.*s\"", index_name_.length(), index_name_.ptr()))) { | ||||
|     LOG_WARN("fail to print index name", K(ret)); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 chaser-ch
					chaser-ch