Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions datafusion/proto/proto/datafusion.proto
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,25 @@ message CopyToNode {
repeated string partition_by = 7;
}

// Identifies a built-in file format supported by DataFusion.
// Used by DefaultLogicalExtensionCodec to serialize/deserialize
// FileFormatFactory instances (e.g. in CopyTo plans).
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;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we add some comments desribing what this message does

// Wraps a serialized FileFormatFactory with its format kind tag,
// so the decoder can dispatch to the correct format-specific codec.
message FileFormatProto {
FileFormatKind kind = 1;
bytes encoded_file_format = 2;
}

message DmlNode{
enum Type {
UPDATE = 0;
Expand Down
198 changes: 198 additions & 0 deletions datafusion/proto/src/generated/pbjson.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions datafusion/proto/src/generated/prost.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading