Skip to content

Commit

Permalink
Remove old path proto value.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbutrovich committed Nov 13, 2024
1 parent ad6c164 commit 90e2b6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 5 additions & 5 deletions native/proto/src/proto/operator.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ message SparkPartitionedFile {
}

// This name and the one above are not great, but they correspond to the (unfortunate) Spark names.
// I prepended "Spark" since I think there's a name collision on the native side, but we can revisit.
message SparkFilePartition {
repeated SparkPartitionedFile partitioned_file = 1;
}
Expand All @@ -73,11 +74,10 @@ message NativeScan {
// is purely for informational purposes when viewing native query plans in
// debug mode.
string source = 2;
repeated string path = 3;
string required_schema = 4;
string data_schema = 5;
repeated spark.spark_expression.Expr data_filters = 6;
repeated SparkFilePartition file_partitions = 7;
string required_schema = 3;
string data_schema = 4;
repeated spark.spark_expression.Expr data_filters = 5;
repeated SparkFilePartition file_partitions = 6;
}

message Projection {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2521,9 +2521,6 @@ object QueryPlanSerde extends Logging with ShimQueryPlanSerde with CometExprShim

nativeScanBuilder.setRequiredSchema(requiredSchemaParquet.toString)
nativeScanBuilder.setDataSchema(dataSchemaParquet.toString)
scan.relation.location.inputFiles.foreach { f =>
nativeScanBuilder.addPath(f)
}

Some(result.setNativeScan(nativeScanBuilder).build())

Expand Down

0 comments on commit 90e2b6f

Please sign in to comment.