Skip to content

Commit

Permalink
[#74] Change UNLOAD command's CSV file suffix to match official AWS R…
Browse files Browse the repository at this point in the history
  • Loading branch information
Danijel Schiavuzzi committed Jul 1, 2022
1 parent 5eb359c commit a2cc518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/jp/ne/opt/redshiftfake/write/Writer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Writer(unloadCommand: UnloadCommand, s3Service: S3Service) {
}
}
val result = stream.toString("UTF-8")
val resultKey = s"${unloadCommand.destination.prefix}0000_part_00"
val resultKey = s"${unloadCommand.destination.prefix}000"

if (unloadCommand.createManifest) {
val resultUrl = unloadCommand.destination.copy(prefix = resultKey).full
Expand Down

0 comments on commit a2cc518

Please sign in to comment.