Skip to content

Commit

Permalink
[Improve][Connector-V2][File] Fix the partition directory
Browse files Browse the repository at this point in the history
  • Loading branch information
TyrantLucifer committed Dec 3, 2022
1 parent 2f0258d commit da9df36
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ public Map<String, List<String>> generatorPartitionDir(SeaTunnelRow seaTunnelRow
for (int i = 0; i < partitionFieldsIndexInRow.size(); i++) {
stringBuilder.append(partitionFieldList.get(i))
.append("=")
.append(seaTunnelRow.getFields()[partitionFieldsIndexInRow.get(i)])
.append(File.separator);
.append(seaTunnelRow.getFields()[partitionFieldsIndexInRow.get(i)]);
vals.add(seaTunnelRow.getFields()[partitionFieldsIndexInRow.get(i)].toString());
}
partitionDir = stringBuilder.toString();
Expand Down

0 comments on commit da9df36

Please sign in to comment.