Yuming Wang created SPARK-27054:
-----------------------------------
Summary: Remove Calcite dependency
Key: SPARK-27054
URL: https://issues.apache.org/jira/browse/SPARK-27054
Project: Spark
Issue Type: Improvement
Components: Build, SQL
Affects Versions: 3.0.0
Reporter: Yuming Wang
Calcite is only used for
[runSqlHive|https://github.com/apache/spark/blob/02bbe977abaf7006b845a7e99d612b0235aa0025/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L699-L705]
when
{{hive.cbo.enable=true}}([SemanticAnalyzer|https://github.com/apache/hive/blob/release-1.2.1/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java#L278-L280]).
So we can disable {{hive.cbo.enable}} and remove Calcite dependency.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]