HaoYang670 commented on code in PR #4637:
URL: https://github.com/apache/arrow-datafusion/pull/4637#discussion_r1049572758
##########
datafusion/sql/src/parser.rs:
##########
@@ -66,7 +63,7 @@ pub struct CreateExternalTable {
/// Option to not error if table already exists
pub if_not_exists: bool,
/// File compression type (GZIP, BZIP2, XZ)
- pub file_compression_type: String,
+ pub file_compression_type: CompressionTypeVariant,
Review Comment:
Strengthen the type can let us find errors earlier.
--
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]