Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16751

Support different types for grouping columns in GroupBy Druid queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Druid integration
    • None

    Description

      Calcite 1.13 pushes EXTRACT and FLOOR function to Druid as an extraction function (cf CALCITE-1758). Originally, we were assuming that all group by columns in a druid query were of STRING type; however, this will not true anymore (result of EXTRACT is an INT and result of FLOOR a TIMESTAMP).

      When we upgrade to Calcite 1.13, we will need to extend the DruidSerDe to handle these functions.

      Attachments

        1. HIVE-16751.patch
          7 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: