Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is part of
-
HIVE-14217 Druid integration
- Closed