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

Sean Owen commented on SPARK-19661:
-----------------------------------

I don't think that's supported, or Spark SQL syntax -- where do you get that?

> Spark-2.1.0 can not connect hbase
> ---------------------------------
>
>                 Key: SPARK-19661
>                 URL: https://issues.apache.org/jira/browse/SPARK-19661
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 2.1.0
>            Reporter: sydt
>
> When spark-sql of spark-2.1.0 connect hbase by
> CREATE EXTERNAL TABLE lxw123(  
> rowkey string,  
> f1 map<STRING,STRING>,  
> f2 map<STRING,STRING>,  
> f3 map<STRING,STRING>  
> ) STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'  
> WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,f1:,f2:,f3:")  
> TBLPROPERTIES ("hbase.table.name" = "lxw1234");
> it has no response and show 
> Error in query: 
> Operation not allowed: STORED BY(line 6, pos 2)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to