Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for LogicalPlan::DML(...) serde #14079

Merged
merged 4 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
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
Next Next commit
Add support for DML serialization to proto
closes: #13616
  • Loading branch information
milenkovicm committed Jan 10, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 8d42aa94bba67f501f687a73149a7440cc01efa8
16 changes: 16 additions & 0 deletions datafusion/proto/proto/datafusion.proto
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ message LogicalPlanNode {
UnnestNode unnest = 30;
RecursiveQueryNode recursive_query = 31;
CteWorkTableScanNode cte_work_table_scan = 32;
DmlNode dml = 33;
}
}

@@ -264,6 +265,21 @@ message CopyToNode {
repeated string partition_by = 7;
}

message DmlNode{
enum Type {
UPDATE = 0;
DELETE = 1;
INSERT_APPEND = 2;
INSERT_OVERWRITE = 3;
INSERT_REPLACE = 4;
CTAS = 5;
}
Type dml_type = 1;
LogicalPlanNode input = 2;
TableReference table_name = 3;
datafusion_common.DfSchema schema = 4;
}

message UnnestNode {
LogicalPlanNode input = 1;
repeated datafusion_common.Column exec_columns = 2;
242 changes: 242 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