You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2016/08/01 02:20:20 UTC

[jira] [Commented] (HIVE-1555) JDBC Storage Handler

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

Yuming Wang commented on HIVE-1555:
-----------------------------------

Spark SQL support it. https://community.hortonworks.com/articles/4671/sparksql-jdbc-federation.html
{code:sql}
CREATE TABLE mysql_federated_sample
USING org.apache.spark.sql.jdbc
OPTIONS (
  driver "com.mysql.jdbc.Driver",
  url "jdbc:mysql://localhost/hive?user=hive&password=hive",
  dbtable "TBLS"
);
{code}


> JDBC Storage Handler
> --------------------
>
>                 Key: HIVE-1555
>                 URL: https://issues.apache.org/jira/browse/HIVE-1555
>             Project: Hive
>          Issue Type: New Feature
>          Components: JDBC
>            Reporter: Bob Robertson
>            Assignee: Teddy Choi
>         Attachments: JDBCStorageHandler Design Doc.pdf
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> With the Cassandra and HBase Storage Handlers I thought it would make sense to include a generic JDBC RDBMS Storage Handler so that you could import a standard DB table into Hive. Many people must want to perform HiveQL joins, etc against tables in other systems etc.



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