Skip to content

Commit 7f82c4a

Browse files
dongjoon-hyungatorsmile
authored andcommitted
[SPARK-24312][SQL] Upgrade to 2.3.3 for Hive Metastore Client 2.3
## What changes were proposed in this pull request? Hive 2.3.3 was [released on April 3rd](https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12342162&styleName=Text&projectId=12310843). This PR aims to upgrade Hive Metastore Client 2.3 from 2.3.2 to 2.3.3. ## How was this patch tested? Pass the Jenkins with the existing tests. Author: Dongjoon Hyun <[email protected]> Closes #21359 from dongjoon-hyun/SPARK-24312.
1 parent 1c4553d commit 7f82c4a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/sql-programming-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ The following options can be used to configure the version of Hive that is used
12141214
<td><code>1.2.1</code></td>
12151215
<td>
12161216
Version of the Hive metastore. Available
1217-
options are <code>0.12.0</code> through <code>2.3.2</code>.
1217+
options are <code>0.12.0</code> through <code>2.3.3</code>.
12181218
</td>
12191219
</tr>
12201220
<tr>
@@ -2237,7 +2237,7 @@ referencing a singleton.
22372237
Spark SQL is designed to be compatible with the Hive Metastore, SerDes and UDFs.
22382238
Currently, Hive SerDes and UDFs are based on Hive 1.2.1,
22392239
and Spark SQL can be connected to different versions of Hive Metastore
2240-
(from 0.12.0 to 2.3.2. Also see [Interacting with Different Versions of Hive Metastore](#interacting-with-different-versions-of-hive-metastore)).
2240+
(from 0.12.0 to 2.3.3. Also see [Interacting with Different Versions of Hive Metastore](#interacting-with-different-versions-of-hive-metastore)).
22412241

22422242
#### Deploying in Existing Hive Warehouses
22432243

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private[spark] object HiveUtils extends Logging {
6262

6363
val HIVE_METASTORE_VERSION = buildConf("spark.sql.hive.metastore.version")
6464
.doc("Version of the Hive metastore. Available options are " +
65-
s"<code>0.12.0</code> through <code>2.3.2</code>.")
65+
s"<code>0.12.0</code> through <code>2.3.3</code>.")
6666
.stringConf
6767
.createWithDefault(builtinHiveVersion)
6868

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private[hive] object IsolatedClientLoader extends Logging {
9898
case "2.0" | "2.0.0" | "2.0.1" => hive.v2_0
9999
case "2.1" | "2.1.0" | "2.1.1" => hive.v2_1
100100
case "2.2" | "2.2.0" => hive.v2_2
101-
case "2.3" | "2.3.0" | "2.3.1" | "2.3.2" => hive.v2_3
101+
case "2.3" | "2.3.0" | "2.3.1" | "2.3.2" | "2.3.3" => hive.v2_3
102102
}
103103

104104
private def downloadVersion(

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ package object client {
7575
exclusions = Seq("org.apache.curator:*",
7676
"org.pentaho:pentaho-aggdesigner-algorithm"))
7777

78-
case object v2_3 extends HiveVersion("2.3.2",
78+
case object v2_3 extends HiveVersion("2.3.3",
7979
exclusions = Seq("org.apache.curator:*",
8080
"org.pentaho:pentaho-aggdesigner-algorithm"))
8181

0 commit comments

Comments
 (0)