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

Planner not pushing some predicates with constant exprs to Kudu

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Frontend
    • Labels:

      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: