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

Support different types for grouping columns in GroupBy Druid queries

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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
          Jesus Camacho Rodriguez

        Issue Links

        Activity

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

          People

            jcamachorodriguez Jesus Camacho Rodriguez Assign to me
            jcamachorodriguez Jesus Camacho Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment