Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21090

If log level is debug, CBO will fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.2, 2.3.4
    • None
    • CBO
    • 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.

      Attachments

        Activity

          People

            hunhun hunshenshi
            hunhun hunshenshi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: