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

The eval cost of exprs should always be set in in analyze(), even if the eval cost is unknown (-1).

    XMLWordPrintableJSON

Details

    Description

      The eval cost of an Expr should always be set in analyze(), even if the eval cost is unknown (-1).

      The following sequence of events will make an Expr have an incorrect eval cost set:
      1. analyze() Expr e which sets a valid eval cost
      2. substitute a child of e with an expr that has an invalid eval cost
      3. calling analyze() on e will leave the original valid eval cost, but it should be invalid after the substitution+analyze

      Attachments

        Activity

          People

            tianyiwang Tianyi Wang
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: