[destination-S3]Can S3 Destination Support Column Sorting Before Writing? #48684
Unanswered
bambangraharjo
asked this question in
Connector Questions
Replies: 1 comment 1 reply
-
Currently, you can't change this behavior. I couldn't find any existing feature request for this, @bambangraharjo, so feel free to open a new request to discuss a future implementation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to sort the order of columns when writing data to S3 using the S3 destination connector? Alternatively, can we create a custom connector to handle this?
The idea is that if column sorting is supported, the files written to S3 can have the same column order as the target table in Redshift. This would allow us to use the files directly with Redshift's COPY command or Redshift Spectrum without additional preprocessing.
I prefer not to write directly to Redshift due to potential issues with SUPER columns exceeding 65k bytes or VARCHAR columns larger than 65k being automatically converted to NULL, which happens with the Redshift destination connector.
Would love to hear thoughts or suggestions! 😊
Beta Was this translation helpful? Give feedback.
All reactions