andygrove opened a new issue, #8680:
URL: https://github.com/apache/arrow-datafusion/issues/8680
### Is your feature request related to a problem or challenge?
We currently have two mechanisms for serializing compression formats in
datafusion.proto.
`CreateExternalTableNode` uses a string representation:
```protobuf
string file_compression_type = 10;
```
`JsonWriterOptions` uses an enum:
```protobuf
CompressionTypeVariant compression = 1;
```
Here is the definition of `CompressionTypeVariant`:
```protobuf
enum CompressionTypeVariant {
GZIP = 0;
BZIP2 = 1;
XZ = 2;
ZSTD = 3;
UNCOMPRESSED = 4;
}
```
### Describe the solution you'd like
It would be better to standardize on one approach for a more consistent API.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
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]