Skip to content

Commit

Permalink
remove .repartition(1) from TeragrepHdfsSaveStep (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
kortemik authored Oct 1, 2024
1 parent 33c6c3c commit 878a963
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ else if (format == Format.CSV) {
DataStreamWriter<Row> hdfsSaveWriter;
if (format == Format.AVRO) {
hdfsSaveWriter = convertedDataset
.repartition(1)
.writeStream()
.format("avro")
.trigger(Trigger.ProcessingTime(0))
Expand All @@ -264,7 +263,6 @@ else if (format == Format.CSV) {
}
else if (format == Format.CSV) {
hdfsSaveWriter = dataset
.repartition(1)
.writeStream()
.format("csv")
.trigger(Trigger.ProcessingTime(0))
Expand Down

0 comments on commit 878a963

Please sign in to comment.