Acfboy commented on code in PR #20638:
URL: https://github.com/apache/datafusion/pull/20638#discussion_r2894095704
##########
datafusion/proto/proto/datafusion.proto:
##########
@@ -270,6 +270,20 @@ message CopyToNode {
repeated string partition_by = 7;
}
+enum FileFormatKind {
+ FILE_FORMAT_KIND_UNSPECIFIED = 0;
+ FILE_FORMAT_KIND_CSV = 1;
+ FILE_FORMAT_KIND_JSON = 2;
+ FILE_FORMAT_KIND_PARQUET = 3;
+ FILE_FORMAT_KIND_ARROW = 4;
+ FILE_FORMAT_KIND_AVRO = 5;
+}
+
+message FileFormatProto {
+ FileFormatKind kind = 1;
+ bytes options = 2;
Review Comment:
Thanks! That was my mistake. I used `options` because I was thinking of it
as 'file format options'. I agree a more descriptive name would be better.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]