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).

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment