You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PrestoS3FileSystem#rename should preserve SSE properties while copying files. Problematic line is: PrestoS3FileSystem.java:407: s3.copyObject. According to S3 Javadoc:
* By default, all object metadata for the source object except
* <b>server-side-encryption</b>, <b>storage-class</b> and
* <b>website-redirect-location</b> are copied to the new destination
* object, unless new object metadata in the specified
* {@link CopyObjectRequest} is provided.
On the other hand, maybe PrestoS3FileSystem#rename should throw UnsupportedOperationException? It seems that it shouldn't be used at all because for S3 there should be no temporary objects when inserting into table (see: HiveWriteUtils#isS3FileSystem).
The text was updated successfully, but these errors were encountered:
Extracted from: prestodb/presto#9916
PrestoS3FileSystem#rename
should preserve SSE properties while copying files. Problematic line is:PrestoS3FileSystem.java:407: s3.copyObject
. According to S3 Javadoc:On the other hand, maybe
PrestoS3FileSystem#rename
should throwUnsupportedOperationException
? It seems that it shouldn't be used at all because for S3 there should be no temporary objects when inserting into table (see:HiveWriteUtils#isS3FileSystem
).The text was updated successfully, but these errors were encountered: