Skip to content

Commit

Permalink
Remove bogus overload in tests
Browse files Browse the repository at this point in the history
The `rubixEnabledConfig` was ignored.
  • Loading branch information
findepi committed Mar 11, 2023
1 parent 52f3893 commit d458875
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
import io.trino.plugin.hive.parquet.ParquetReaderConfig;
import io.trino.plugin.hive.parquet.ParquetWriterConfig;
import io.trino.plugin.hive.rcfile.RcFilePageSourceFactory;
import io.trino.plugin.hive.rubix.RubixEnabledConfig;
import io.trino.plugin.hive.s3.HiveS3Config;
import io.trino.plugin.hive.s3.TrinoS3ConfigurationInitializer;
import io.trino.plugin.hive.s3select.S3SelectRecordCursorProvider;
Expand Down Expand Up @@ -160,11 +159,6 @@ public static HiveSessionProperties getHiveSessionProperties(HiveConfig hiveConf
}

public static HiveSessionProperties getHiveSessionProperties(HiveConfig hiveConfig, OrcReaderConfig orcReaderConfig)
{
return getHiveSessionProperties(hiveConfig, new RubixEnabledConfig(), orcReaderConfig);
}

public static HiveSessionProperties getHiveSessionProperties(HiveConfig hiveConfig, RubixEnabledConfig rubixEnabledConfig, OrcReaderConfig orcReaderConfig)
{
return new HiveSessionProperties(
hiveConfig,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public void setup()
config = new HdfsConfig();
List<PropertyMetadata<?>> hiveSessionProperties = getHiveSessionProperties(
new HiveConfig(),
new RubixEnabledConfig().setCacheEnabled(true),
new OrcReaderConfig()).getSessionProperties();
context = new HdfsContext(
TestingConnectorSession.builder()
Expand Down

0 comments on commit d458875

Please sign in to comment.