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

Add physical plan properties to protobuf definition #13136

Closed
Closed
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
32 changes: 32 additions & 0 deletions datafusion/proto/proto/datafusion.proto
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,10 @@ message PhysicalExprNode {
}
}

message PhysicalExprNodeCollection {
repeated PhysicalExprNode exprs = 1;
}

message PhysicalScalarUdfNode {
string name = 1;
repeated PhysicalExprNode args = 2;
Expand Down Expand Up @@ -1248,3 +1252,31 @@ message PartitionStats {
int64 num_bytes = 3;
repeated datafusion_common.ColumnStats column_stats = 4;
}

message PhysicalPlanProperties {
EquivalenceProperties eq_properties = 1;
Partitioning partitioning = 2;
ExecutionMode mode = 3;
}

message EquivalenceProperties {
EquivalenceGroup group = 1;
repeated PhysicalSortExprNodeCollection output_ordering_equivalence = 2;
repeated ConstExpr constants = 3;
datafusion_common.Schema schema = 4;
}

message ConstExpr {
PhysicalExprNode expr = 1;
bool across_partitions = 2;
}

enum ExecutionMode {
Bounded = 0;
Unbounded = 1;
PipelineBreaking = 2;
}

message EquivalenceGroup {
repeated PhysicalExprNodeCollection classes = 1;
}
Loading