Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14217 Druid integration
  3. HIVE-14438

Create Table on Druid data source

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • Druid integration
    • None

    Description

      Starting implementation of Storage Handler for Druid.

      First assuming the data already sits in Druid. We will allow users to declare a table in Hive that references a datasource in Druid.

      The proposed syntax is as follows:

      CREATE TABLE druid_table_1
      STORED BY 'org.apache.hadoop.hive.druid.DruidStorageHandler'
      TBLPROPERTIES ("druid.datasource" = "xyz");
      

      For the statement above, the Druid datasource that we want to query is xyz.

      The schema of the new table is discovered automatically issuing a SegmentMetadata to Druid that will retrieve the names and types of the columns present in the datasource.

      Attachments

        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: