bvolpato commented on issue #24640: URL: https://github.com/apache/beam/issues/24640#issuecomment-1347495486
I have looked into adding ZIP support. The only non-trivial part of it is that ZIP is not simply an encoding, it is a container with files. So that's how it differs from other encoding-only compressions that have been supported before. Interface for writeCompressed (https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/Compression.java#L129-L132) does not offer a file name, so we would have to either: 1. Create a dummy ZipEntry with a hardcoded name (e.g., uncompressed, raw, etc) 2. Change the interfaces and IOs to pass on the file name that will be stored in the ZIP file. cc @Abacn -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
