Skip to content

Commit

Permalink
Revert "[SPARK-48639][CONNECT][PYTHON] Add Origin to Relation.Relatio…
Browse files Browse the repository at this point in the history
…nCommon"

This reverts commit 09cb592.
  • Loading branch information
HyukjinKwon committed Jun 27, 2024
1 parent 48f39b8 commit 2e31572
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import "google/protobuf/any.proto";
import "spark/connect/expressions.proto";
import "spark/connect/types.proto";
import "spark/connect/catalog.proto";
import "spark/connect/common.proto";

option java_multiple_files = true;
option java_package = "org.apache.spark.connect.proto";
Expand Down Expand Up @@ -107,14 +106,13 @@ message Unknown {}

// Common metadata of all relations.
message RelationCommon {
// (Optional) Shared relation metadata.
reserved 1;
// TODO(SPARK-48639): Add origin like Expression.ExpressionCommon

// (Required) Shared relation metadata.
string source_info = 1;

// (Optional) A per-client globally unique id for a given connect plan.
optional int64 plan_id = 2;

// (Optional) Keep the information of the origin for this expression such as stacktrace.
Origin origin = 3;
}

// Relation that uses a SQL query to generate the output.
Expand Down
Loading

0 comments on commit 2e31572

Please sign in to comment.