jorisvandenbossche commented on code in PR #39065:
URL: https://github.com/apache/arrow/pull/39065#discussion_r1416949294
##########
cpp/src/arrow/dataset/file_parquet.cc:
##########
@@ -893,20 +902,29 @@ Result<std::vector<compute::Expression>>
ParquetFileFragment::TestRowGroups(
return std::vector<compute::Expression>{};
}
+ const SchemaField* schema_field = nullptr;
Review Comment:
Because initially I wasn't using a pointer, and that didn't work when
declared inside the loop (it kept the value of the previous iteration), and
then moved it out to try to fix, but the solution was to use a pointer instead,
but that indeed works fine with keeping it in the loop ;) Will update.
--
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]