Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 committed Sep 19, 2024
1 parent aae1b66 commit c8358d0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ public InnerTableScan withFilter(Predicate pushdown) {
@Override
public Plan innerPlan() {
List<BinaryRow> partitions = new ArrayList<>();
if (partitionPredicate != null && partitionPredicate.function() instanceof Equal) {
if (partitionPredicate != null
&& fileStoreTable.partitionKeys().isEmpty()
&& partitionPredicate.function() instanceof Equal) {
GenericRow partitionRow = new GenericRow(fileStoreTable.partitionKeys().size());
RowType partitionRowType = fileStoreTable.schema().logicalPartitionType();
String partitionStr = partitionPredicate.literals().get(0).toString();
Expand Down

0 comments on commit c8358d0

Please sign in to comment.