Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 hive 中运行一个解释计划,它给了我以下错误。计划未由 CBO 优化。当我检查它说的日志时。
2016-03-14 00:37:12,082 信息 [HiveServer2-Handler-Pool: Thread-41]: parse.BaseSemanticAnalyzer (CalcitePlanner.java:canCBOHandleAst(392)) - 不调用 CBO,因为该语句的连接太少
这意味着什么?
您尝试执行的查询是什么。
查看 msg 的日志:
“parse.BaseSemanticAnalyzer:不调用 CBO,因为该语句的连接太少”
按照这个:
https://community.hortonworks.com/questions/4759/hive-explain-says-plan-not-optimized-by-cbo-due-to.html