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

Reference equality is used on Boolean in NullScanOptimizer#WhereFalseProcessor#process()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Physical Optimizer
    • None

    Description

            ExprNodeConstantDesc c = (ExprNodeConstantDesc) condition;
            if (c.getValue() != Boolean.FALSE) {
              return null;
            }
      

      equals() should be called instead.

      Attachments

        1. HIVE-7521.patch
          0.6 kB
          KangHS

        Activity

          People

            HS KangHS
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: