Skip to content

Commit a13e451

Browse files
alexjo2144findepi
authored andcommitted
Remove unused bindings from DeltaLakeModule
1 parent be1f426 commit a13e451

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeModule.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
import io.trino.plugin.deltalake.transactionlog.writer.TransactionLogSynchronizerManager;
4444
import io.trino.plugin.deltalake.transactionlog.writer.TransactionLogWriterFactory;
4545
import io.trino.plugin.hive.FileFormatDataSourceStats;
46-
import io.trino.plugin.hive.HiveLocationService;
47-
import io.trino.plugin.hive.HiveTransactionManager;
48-
import io.trino.plugin.hive.LocationService;
4946
import io.trino.plugin.hive.PropertiesSystemTableProvider;
5047
import io.trino.plugin.hive.SystemTableProvider;
5148
import io.trino.plugin.hive.TransactionalMetadata;
@@ -107,13 +104,11 @@ public void setup(Binder binder)
107104
binder.bind(ConnectorPageSinkProvider.class).to(DeltaLakePageSinkProvider.class).in(Scopes.SINGLETON);
108105
binder.bind(ConnectorNodePartitioningProvider.class).to(DeltaLakeNodePartitioningProvider.class).in(Scopes.SINGLETON);
109106

110-
binder.bind(LocationService.class).to(HiveLocationService.class).in(Scopes.SINGLETON);
111107
binder.bind(DeltaLakeMetadataFactory.class).in(Scopes.SINGLETON);
112108
binder.bind(CachingExtendedStatisticsAccess.class).in(Scopes.SINGLETON);
113109
binder.bind(ExtendedStatisticsAccess.class).to(CachingExtendedStatisticsAccess.class).in(Scopes.SINGLETON);
114110
binder.bind(ExtendedStatisticsAccess.class).annotatedWith(ForCachingExtendedStatisticsAccess.class).to(MetaDirStatisticsAccess.class).in(Scopes.SINGLETON);
115111
jsonCodecBinder(binder).bindJsonCodec(ExtendedStatistics.class);
116-
binder.bind(HiveTransactionManager.class).in(Scopes.SINGLETON);
117112
binder.bind(CheckpointSchemaManager.class).in(Scopes.SINGLETON);
118113
jsonCodecBinder(binder).bindJsonCodec(LastCheckpoint.class);
119114
binder.bind(CheckpointWriterManager.class).in(Scopes.SINGLETON);

0 commit comments

Comments
 (0)