Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,14 @@ public static Collection<Object[]> data() throws IOException, InterruptedExcepti
extraContent.put(new File("META-INF/services/java.sql.Driver"), dummyDriverClazzName);
File jarFile = HiveTestUtils.genLocalJarForTest(u, dummyDriverClazzName, extraContent);
String pathToDummyDriver = jarFile.getAbsolutePath();
String postgresVersion = System.getProperty("postgres.version");
String pathToPostgresJar = System.getProperty("maven.local.repository")
+ File.separator + "org"
+ File.separator + "postgresql"
+ File.separator + "postgresql"
+ File.separator + "42.7.3"
+ File.separator + postgresVersion
+ File.separator
+ "postgresql-42.7.3.jar";
+ "postgresql-" + postgresVersion + ".jar";
return Arrays.asList(new Object[][] {
{ "jdbc:postgresql://host:5432/testdb", "org.postgresql.Driver", pathToPostgresJar, true },
{ "jdbc:dummy://host:5432/testdb", dummyDriverClazzName, pathToDummyDriver, false } });
Expand Down
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
<mariadb.version>2.5.0</mariadb.version>
<mssql.version>6.2.1.jre8</mssql.version>
<mysql.version>8.2.0</mysql.version>
<postgres.version>42.7.3</postgres.version>
<postgres.version>42.7.12</postgres.version>
<oracle.version>21.3.0.0</oracle.version>
<opencsv.version>5.9</opencsv.version>
<orc.version>2.1.2</orc.version>
Expand Down Expand Up @@ -1903,6 +1903,8 @@
<!-- required by a few tests to find the derby jar -->
<derby.version>${derby.version}</derby.version>
<derby.stream.error.file>${test.tmp.dir}/derby.log</derby.stream.error.file>
<!-- required by TestBeelineArgParsing to find the postgresql jar -->
<postgres.version>${postgres.version}</postgres.version>
<derby.system.durability>test</derby.system.durability>
<hadoop.bin.path>${hadoop.bin.path}</hadoop.bin.path>
<!-- required by Hadoop's JobHistory -->
Expand Down
2 changes: 1 addition & 1 deletion standalone-metastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<mariadb.version>2.5.0</mariadb.version>
<mssql.version>6.2.1.jre8</mssql.version>
<mysql.version>8.2.0</mysql.version>
<postgres.version>42.7.3</postgres.version>
<postgres.version>42.7.12</postgres.version>
<oracle.version>21.3.0.0</oracle.version>
<dropwizard-metrics-hadoop-metrics2-reporter.version>0.1.2
</dropwizard-metrics-hadoop-metrics2-reporter.version>
Expand Down