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

Planner not pushing some predicates with constant exprs to Kudu

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.8.0
    • Frontend

    Description

      The following query is unable to push to Kudu:

      select count(*) from metrics where `timestamp` < 1475059765 + 10
      

      Oddly, the following one works fine:

      select count(*) from metrics where `timestamp` < 1000 + 10
      

      I'm guessing that some kind of implicit CAST is getting inserted here which is blocking the pushdown. 'timestamp' is an 'int' column here.

      Attachments

        Activity

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

          People

            mjacobs Matthew Jacobs
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment