Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2821

Push down string range filter from Spark on timestamp column

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.0
    • None
    • spark
    • None

    Description

      In the Spark-Kudu integration, a range filter on a Kudu timestamp column using a string representation will not be pushed down to Kudu. It would be good if it did!

      For example:

      df.where("time > '2019-05-09 19:04:17' and time < '2019-05-09 19:04:26'").count
      

      will not push down to Kudu, but

      df.where("time > cast('2019-05-09 19:04:17' as timestamp) and time < cast('2019-05-09 19:04:26' as timestamp)").count
      

      will push down to Kudu.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbeard Jacob Evan Beard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: