You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "hunshenshi (JIRA)" <ji...@apache.org> on 2019/01/07 02:51:00 UTC

[jira] [Assigned] (HIVE-21090) If log level is debug, CBO will fail

     [ https://issues.apache.org/jira/browse/HIVE-21090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hunshenshi reassigned HIVE-21090:
---------------------------------


> 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
>            Priority: Major
>
> 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)