-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for changing the UNLOAD
S3 file suffix
#74
Comments
Thanks for raising an issue. Is changing S3 filename suffix possible in AWS Redshift? (sorry, I'm no longer using AWS in my work now so I don't have ideas about this) If so, it sounds make sense but otherwise, could you elaborate the motivation a bit? |
Thanks for getting back to me. Unfortunately it's not possible to tell Redshift to use an alternative S3 UNLOAD file suffix, see https://docs.aws.amazon.com/redshift/latest/dg/r_UNLOAD.html - it always adds the See also https://stackoverflow.com/questions/39255954/redshift-unloads-file-name Hence, to make |
FYI, I'm working on this feature now, planning to raise a Pull Request soon. |
Done in #75 |
…o_official_spec [#74] Change UNLOAD command's CSV file suffix to match official AWS Redshift:
Hi,
It would be great if the
UNLOAD
command's S3 filename suffix could be made configurable. Currently it's hardcoded as0000_part_00
in theWriter
class:redshift-fake-driver/src/main/scala/jp/ne/opt/redshiftfake/write/Writer.scala
Line 33 in 96dfe08
Thanks,
Danijel
The text was updated successfully, but these errors were encountered: