Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3.2, 2.3.4
-
None
-
None
Description
If log level is debug, sql like
select * from table where partition='xx' and condition='xx'
the CBO will fail.
I find it case by
LOG.debug("Plan After Join Reordering:\n"
+ RelOptUtil.toString(calciteOptimizedPlan, SqlExplainLevel.ALL_ATTRIBUTES));
in CalcitePlanner.java
delete
SqlExplainLevel.ALL_ATTRIBUTES
, will be all rigth.