Skip to content

Commit

Permalink
Spark: Bump Spark minor versions for 3.3 and 3.4 (#9187)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajantha-bhat authored Dec 6, 2023
1 parent a89fc46 commit 70ec4e5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ scala-collection-compat = "2.11.0"
slf4j = "1.7.36"
snowflake-jdbc = "3.14.3"
spark-hive32 = "3.2.2"
spark-hive33 = "3.3.2"
spark-hive34 = "3.4.1"
spark-hive33 = "3.3.3"
spark-hive34 = "3.4.2"
spark-hive35 = "3.5.0"
spring-boot = "2.5.4"
spring-web = "5.3.30"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void setupTempDirs() {

@After
public void dropTables() {
sql("DROP TABLE IF EXISTS %s", sourceTableName);
sql("DROP TABLE IF EXISTS %s PURGE", sourceTableName);
sql("DROP TABLE IF EXISTS %s", tableName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public TestSnapshotTableProcedure(
@After
public void removeTables() {
sql("DROP TABLE IF EXISTS %s", tableName);
sql("DROP TABLE IF EXISTS %S", sourceName);
sql("DROP TABLE IF EXISTS %s PURGE", sourceName);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void testGettingStarted() throws IOException {
Assert.assertEquals(
"Should have inserted 3 rows", 3L, scalarSql("SELECT COUNT(*) FROM %s", tableName));

sql("DROP TABLE IF EXISTS source");
sql("DROP TABLE IF EXISTS source PURGE");
sql(
"CREATE TABLE source (id bigint, data string) USING parquet LOCATION '%s'",
temp.newFolder());
Expand All @@ -62,7 +62,7 @@ public void testGettingStarted() throws IOException {
Assert.assertEquals(
"Table should now have 4 rows", 4L, scalarSql("SELECT COUNT(*) FROM %s", tableName));

sql("DROP TABLE IF EXISTS updates");
sql("DROP TABLE IF EXISTS updates PURGE");
sql(
"CREATE TABLE updates (id bigint, data string) USING parquet LOCATION '%s'",
temp.newFolder());
Expand Down

0 comments on commit 70ec4e5

Please sign in to comment.