Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1756

Constant expressions not checked for errors, no state cleanup on exception.

    XMLWordPrintableJSON

Details

    Description

      Constant filter expressions are evaluated during query compilation, and not during execution. When evaluating those expressions during compilation, there is no check whether there is an error set or not.

      Specifically, errors are not checked after GetConstVal() is called in ScalarFnCall::Open(). Also, in NativeEvalConstExprs in fe-support.cc, if an error takes place during evaluation in Open() or GetValue(), the state is not cleaned up (Close() is not called) before throwing an exception.

      Attachments

        Activity

          People

            sailesh Sailesh Mukil
            ghenke_impala_d87e Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: