Skip to content

Commit

Permalink
Bump dep.trino.version from 416 to 417
Browse files Browse the repository at this point in the history
ebyhr committed May 19, 2023
1 parent 8ca099e commit deb85f7
Showing 3 changed files with 6 additions and 10 deletions.
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
<air.check.fail-checkstyle>true</air.check.fail-checkstyle>
<air.check.skip-checkstyle>false</air.check.skip-checkstyle>

<dep.trino.version>416</dep.trino.version>
<dep.trino.version>417</dep.trino.version>
<dep.airlift.version>230</dep.airlift.version>
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
<dep.aws-sdk.version>1.12.464</dep.aws-sdk.version>
@@ -92,12 +92,6 @@
<version>${dep.trino.version}</version>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-hive</artifactId>
<version>${dep.trino.version}</version>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-memory-context</artifactId>
Original file line number Diff line number Diff line change
@@ -18,9 +18,9 @@
import io.airlift.json.JsonModule;
import io.trino.hdfs.HdfsModule;
import io.trino.hdfs.authentication.HdfsAuthenticationModule;
import io.trino.plugin.hive.azure.HiveAzureModule;
import io.trino.plugin.hive.gcs.HiveGcsModule;
import io.trino.plugin.hive.s3.HiveS3Module;
import io.trino.hdfs.azure.HiveAzureModule;
import io.trino.hdfs.gcs.HiveGcsModule;
import io.trino.hdfs.s3.HiveS3Module;
import io.trino.spi.connector.Connector;
import io.trino.spi.connector.ConnectorContext;
import io.trino.spi.connector.ConnectorFactory;
2 changes: 2 additions & 0 deletions src/main/java/org/ebyhr/trino/storage/StorageModule.java
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
import io.opentelemetry.api.OpenTelemetry;
import io.trino.filesystem.TrinoFileSystemFactory;
import io.trino.filesystem.hdfs.HdfsFileSystemFactory;
import io.trino.hdfs.TrinoHdfsFileSystemStats;
import io.trino.spi.ptf.ConnectorTableFunction;
import io.trino.spi.type.Type;
import io.trino.spi.type.TypeManager;
@@ -63,6 +64,7 @@ public void configure(Binder binder)
newSetBinder(binder, ConnectorTableFunction.class).addBinding().toProvider(ReadFileTableFunction.class).in(Scopes.SINGLETON);
newSetBinder(binder, ConnectorTableFunction.class).addBinding().toProvider(ListTableFunction.class).in(Scopes.SINGLETON);
binder.bind(TrinoFileSystemFactory.class).to(HdfsFileSystemFactory.class).in(Scopes.SINGLETON);
binder.bind(TrinoHdfsFileSystemStats.class).in(Scopes.SINGLETON);
binder.bind(OpenTelemetry.class).toInstance(OpenTelemetry.noop());

jsonBinder(binder).addDeserializerBinding(Type.class).to(TypeDeserializer.class);

0 comments on commit deb85f7

Please sign in to comment.