Skip to content

Commit

Permalink
minor: unnest protobuf serde support (apache#10681)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Koshchiy <an.koshchiy@gmail.com>
  • Loading branch information
akoshchiy authored and findepi committed Jul 16, 2024
1 parent 33e1126 commit 04fe9c4
Show file tree
Hide file tree
Showing 7 changed files with 459 additions and 7 deletions.
15 changes: 15 additions & 0 deletions datafusion/proto/proto/datafusion.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ message LogicalPlanNode {
DropViewNode drop_view = 27;
DistinctOnNode distinct_on = 28;
CopyToNode copy_to = 29;
UnnestNode unnest = 30;
}
}

Expand Down Expand Up @@ -260,6 +261,20 @@ message CopyToNode {
repeated string partition_by = 7;
}

message UnnestNode {
LogicalPlanNode input = 1;
repeated datafusion_common.Column exec_columns = 2;
repeated uint64 list_type_columns = 3;
repeated uint64 struct_type_columns = 4;
repeated uint64 dependency_indices = 5;
datafusion_common.DfSchema schema = 6;
UnnestOptions options = 7;
}

message UnnestOptions {
bool preserve_nulls = 1;
}

message UnionNode {
repeated LogicalPlanNode inputs = 1;
}
Expand Down
311 changes: 311 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.

Loading

0 comments on commit 04fe9c4

Please sign in to comment.