You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2016/08/16 07:23:20 UTC

[jira] [Created] (HIVE-14543) Create Druid table without specifying data source

Jesus Camacho Rodriguez created HIVE-14543:
----------------------------------------------

             Summary: 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)