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

Chao Sun commented on SPARK-29260:
----------------------------------

Thanks [~yumwang]. Spark currently throw exception when Hive client version is 
not 3.0/3.1 (see 
[here|https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L360]),
 which I think is not necessary, since what matters is the Hive version used by 
HMS. For instance, when Spark with built-in Hive 2.x talks to a HMS of Hive 
3.x, it should still be able to change database location. On the other hand, 
the command won't be effective if Spark with Hive 3.x is talking to a HMS of 
Hive 2.x.

> Enable supported Hive metastore versions once it support altering database 
> location
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-29260
>                 URL: https://issues.apache.org/jira/browse/SPARK-29260
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> Hive 3.x is supported currently. Hive 2.2.1 and Hive 2.4.0 have not released.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to