[ 
https://issues.apache.org/jira/browse/HIVE-14543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594844#comment-15594844
 ] 

Jesus Camacho Rodriguez commented on HIVE-14543:
------------------------------------------------

[~bslim], this was not implemented. Thus you can extract the name from the 
table properties; we assume that the user specifies it as e.g.:

{code}
TBLPROPERTIES ("druid.datasource" = "wikipedia")
{code}

Check for usage of DRUID_DATA_SOURCE in 
common/src/java/org/apache/hadoop/hive/conf/Constants.java to see how to read 
it.

> Create Druid table without specifying data source
> -------------------------------------------------
>
>                 Key: HIVE-14543
>                 URL: https://issues.apache.org/jira/browse/HIVE-14543
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Druid integration
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>
> We should be able to omit the Druid datasource from the TBLPROPERTIES. In 
> that case, the Druid datasource name should match the Hive table name.
> {code:sql}
> CREATE TABLE druid_table_1
> STORED BY 'org.apache.hadoop.hive.druid.DruidStorageHandler';
> TBLPROPERTIES ("druid.address" = "localhost");
> {code}
> For instance, the statement above creates a table that references the Druid 
> datasource "druid_table_1".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to