Skip to content
Merged
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
21 changes: 21 additions & 0 deletions datafusion/proto/proto/datafusion.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ message LogicalPlanNode {
PrepareNode prepare = 26;
DropViewNode drop_view = 27;
DistinctOnNode distinct_on = 28;
CopyToNode copy_to = 29;
}
}

Expand Down Expand Up @@ -317,6 +318,26 @@ message DistinctOnNode {
LogicalPlanNode input = 4;
}

message CopyToNode {
LogicalPlanNode input = 1;
string output_url = 2;
bool single_file_output = 3;
oneof CopyOptions {
SQLOptions sql_options = 4;
FileTypeWriterOptions writer_options = 5;
}
string file_type = 6;
}

message SQLOptions {
repeated SQLOption option = 1;
}

message SQLOption {
string key = 1;
string value = 2;
}

message UnionNode {
repeated LogicalPlanNode inputs = 1;
}
Expand Down
Loading