You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "AdamGS (via GitHub)" <gi...@apache.org> on 2025/09/15 12:02:18 UTC

[PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

AdamGS opened a new pull request, #17571:
URL: https://github.com/apache/datafusion/pull/17571

   ## Which issue does this PR close?
   
   - Related to https://github.com/apache/arrow-rs/issues/7837
   
   ## Rationale for this change
   
   Aside from general maintenance and performance improvements, it includes casting support for decimal 32/64, which should be merged before https://github.com/apache/datafusion/pull/17501. 
   
   <!--
    Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
    Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.  
   -->
   
   ## What changes are included in this PR?
   1. Upgrade arrow/parquet to the 56.1.0 release
   2. Aside from two call sites to deprecated functionality, a test checking in-memory size reporting now returns a different value (smaller by 112 bytes), looking at the arrow changelog, nothing obviously stood out as the root cause. 
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   ## Are these changes tested?
   
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   3. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
   -->
   
   ## Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please add the `api change` label.
   -->
   


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #17571:
URL: https://github.com/apache/datafusion/pull/17571#issuecomment-3292242397

   I also made a PR to do this here:
   -  https://github.com/apache/datafusion/pull/17275
   
   One thing I am still trying to figure out with @nuno-faria  is the IO changes with predicate pushdown
   
   


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #17571:
URL: https://github.com/apache/datafusion/pull/17571#issuecomment-3293460234

   > That's my bad 🤦 should probably have looked specifically at your PRs. I'll close this one.
   
   No worry -- it is actually my bad I should not have kept the other PR waiting so long. I'll polish that one up and get it reviewed and hopefully ready to go


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

Posted by "AdamGS (via GitHub)" <gi...@apache.org>.
AdamGS commented on PR #17571:
URL: https://github.com/apache/datafusion/pull/17571#issuecomment-3292256322

   That's my bad 🤦 should probably have looked specifically at your PRs. I'll close this one.


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #17571:
URL: https://github.com/apache/datafusion/pull/17571#issuecomment-3292242777

   Thank you for this PR


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

Posted by "AdamGS (via GitHub)" <gi...@apache.org>.
AdamGS commented on code in PR #17571:
URL: https://github.com/apache/datafusion/pull/17571#discussion_r2348901392


##########
datafusion/datasource-parquet/src/opener.rs:
##########
@@ -652,8 +652,8 @@ async fn load_page_index<T: AsyncFileReader>(
     if missing_column_index || missing_offset_index {
         let m = Arc::try_unwrap(Arc::clone(parquet_metadata))
             .unwrap_or_else(|e| e.as_ref().clone());
-        let mut reader =
-            ParquetMetaDataReader::new_with_metadata(m).with_page_indexes(true);
+        let mut reader = ParquetMetaDataReader::new_with_metadata(m)
+            .with_page_index_policy(PageIndexPolicy::Required);

Review Comment:
   This should be the exact same behavior, there's even a `From<bool> for PageIndexPolicy` implementation that does the same thing.



-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] Upgrade arrow/parquet to 56.1.0 [datafusion]

Posted by "AdamGS (via GitHub)" <gi...@apache.org>.
AdamGS closed pull request #17571: Upgrade arrow/parquet to 56.1.0
URL: https://github.com/apache/datafusion/pull/17571


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org