zanmato1984 commented on code in PR #45330:
URL: https://github.com/apache/arrow/pull/45330#discussion_r1950285780


##########
cpp/src/arrow/dataset/file_parquet.cc:
##########
@@ -835,6 +836,10 @@ Status ParquetFileFragment::SetMetadata(
   DCHECK_EQ(manifest_->descr, original_metadata_->schema())
       << "SchemaDescriptor should be owned by the original FileMetaData";
 
+  if (!physical_schema_) {
+    physical_schema_ = given_physical_schema_;

Review Comment:
   Could elaborate a bit about why this change?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to