Skip to content

Commit 3dbe0d9

Browse files
committed
Use io.prestosql JDBC driver
1 parent 9218186 commit 3dbe0d9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

benchto-driver/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jdbc drivers you want to use. Then use maven exec plugin to run benchmark driver
1515
<artifactId>benchto-driver</artifactId>
1616
</dependency>
1717
<dependency>
18-
<groupId>com.facebook.presto</groupId>
18+
<groupId>io.prestosql</groupId>
1919
<artifactId>presto-jdbc</artifactId>
2020
</dependency>
2121
</dependencies>
@@ -59,7 +59,7 @@ data-sources: # data-sources section which lists all jdbc drivers which ca
5959
url: jdbc:presto://example.com:8888
6060
username: example
6161
password: example
62-
driver-class-name: com.facebook.presto.jdbc.PrestoDriver
62+
driver-class-name: io.prestosql.jdbc.PrestoDriver
6363
teradata:
6464
url: jdbc:teradata://example.com
6565
username: example

benchto-driver/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
<!-- Presto driver -->
107107
<dependency>
108-
<groupId>com.facebook.presto</groupId>
108+
<groupId>io.prestosql</groupId>
109109
<artifactId>presto-jdbc</artifactId>
110110
</dependency>
111111

benchto-driver/src/main/java/io/prestosql/benchto/driver/execution/QueryExecutionDriver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
*/
1414
package io.prestosql.benchto.driver.execution;
1515

16-
import com.facebook.presto.jdbc.PrestoResultSet;
1716
import com.google.common.collect.ImmutableMap;
1817
import io.prestosql.benchto.driver.execution.QueryExecutionResult.QueryExecutionResultBuilder;
1918
import io.prestosql.benchto.driver.loader.SqlStatementGenerator;
19+
import io.prestosql.jdbc.PrestoResultSet;
2020
import org.slf4j.Logger;
2121
import org.slf4j.LoggerFactory;
2222
import org.springframework.beans.factory.annotation.Autowired;

benchto-driver/src/main/java/io/prestosql/benchto/driver/macro/query/QueryMacroExecutionDriver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
*/
1414
package io.prestosql.benchto.driver.macro.query;
1515

16-
import com.facebook.presto.jdbc.PrestoConnection;
1716
import io.prestosql.benchto.driver.Benchmark;
1817
import io.prestosql.benchto.driver.BenchmarkExecutionException;
1918
import io.prestosql.benchto.driver.Query;
2019
import io.prestosql.benchto.driver.loader.QueryLoader;
2120
import io.prestosql.benchto.driver.loader.SqlStatementGenerator;
2221
import io.prestosql.benchto.driver.macro.MacroExecutionDriver;
22+
import io.prestosql.jdbc.PrestoConnection;
2323
import org.slf4j.Logger;
2424
import org.slf4j.LoggerFactory;
2525
import org.springframework.beans.factory.annotation.Autowired;

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<dep.commons.cli>1.3.1</dep.commons.cli>
5656
<dep.commons.math3>3.6.1</dep.commons.math3>
5757
<dep.commons.io>2.4</dep.commons.io>
58-
<dep.presto.jdbc.version>0.182</dep.presto.jdbc.version>
58+
<dep.presto.jdbc.version>316</dep.presto.jdbc.version>
5959
<dep.jackson.version>2.4.5</dep.jackson.version>
6060
<dep.jsonpath.version>2.0.0</dep.jsonpath.version>
6161
<dep.junit.version>4.12</dep.junit.version>
@@ -238,7 +238,7 @@
238238

239239
<!-- Drivers -->
240240
<dependency>
241-
<groupId>com.facebook.presto</groupId>
241+
<groupId>io.prestosql</groupId>
242242
<artifactId>presto-jdbc</artifactId>
243243
<version>${dep.presto.jdbc.version}</version>
244244
</dependency>

0 commit comments

Comments
 (0)