hunshenshi created HIVE-21090:
---------------------------------

             Summary: If log level is debug, CBO will fail
                 Key: HIVE-21090
                 URL: https://issues.apache.org/jira/browse/HIVE-21090
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.3.4, 2.3.2
            Reporter: hunshenshi
            Assignee: hunshenshi


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.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to