Skip to content

Commit ee7f913

Browse files
committed
Remove usages of Hadoop Path for PartitionProjection
1 parent cb9522c commit ee7f913

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugin/trino-hive/src/main/java/io/trino/plugin/hive/aws/athena/PartitionProjection.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import io.trino.plugin.hive.metastore.Table;
2121
import io.trino.spi.predicate.Domain;
2222
import io.trino.spi.predicate.TupleDomain;
23-
import org.apache.hadoop.fs.Path;
2423

2524
import java.util.List;
2625
import java.util.Map;
@@ -82,7 +81,7 @@ public Optional<List<String>> getProjectedPartitionNamesByFilter(List<String> co
8281
.collect(toImmutableList());
8382
return Optional.of(cartesianProduct(projectedPartitionValues)
8483
.stream()
85-
.map(parts -> String.join(Path.SEPARATOR, parts))
84+
.map(parts -> String.join("/", parts))
8685
.collect(toImmutableList()));
8786
}
8887

0 commit comments

Comments
 (0)