You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "HuaHuaY (via GitHub)" <gi...@apache.org> on 2026/07/30 10:47:13 UTC

[PR] GH-50737: [C++][Parquet] mark `MakeStatistics` method without `ColumnDescriptor` as deprecated [arrow]

HuaHuaY opened a new pull request, #50738:
URL: https://github.com/apache/arrow/pull/50738

   ### Rationale for this change
   
   I offer two reasons for marking this method as deprecated:
   1. It accepts a `distinct_count` parameter but lacks `has_distinct_count`, making it impossible to represent missing distinct counts, which could lead to misuse.
   2. With the introduction of `nan_count`, it lacks a `ColumnDescriptor` parameter, making it impossible to obtain the logical type and determine the value of `has_nan_count` based on Parquet's logical type (FLOAT16).
   
   ### What changes are included in this PR?
   
   Mark `MakeStatistics` method without `ColumnDescriptor` as deprecated.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Yes. 
   
   Mark `MakeStatistics` method without `ColumnDescriptor` as deprecated.


-- 
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@arrow.apache.org

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


Re: [PR] GH-50737: [C++][Parquet] mark `MakeStatistics` method without `ColumnDescriptor` as deprecated [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #50738:
URL: https://github.com/apache/arrow/pull/50738#issuecomment-5129855148

   :warning: GitHub issue #50737 **has been automatically assigned in GitHub** to PR creator.


-- 
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@arrow.apache.org

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


Re: [PR] GH-50737: [C++][Parquet] mark `MakeStatistics` method without `ColumnDescriptor` as deprecated [arrow]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac merged PR #50738:
URL: https://github.com/apache/arrow/pull/50738


-- 
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@arrow.apache.org

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


Re: [PR] GH-50737: [C++][Parquet] mark `MakeStatistics` method without `ColumnDescriptor` as deprecated [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on PR #50738:
URL: https://github.com/apache/arrow/pull/50738#issuecomment-5132988588

   I'm ok with it, what do you think @wgtmac @mapleFU ?


-- 
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@arrow.apache.org

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


Re: [PR] GH-50737: [C++][Parquet] mark `MakeStatistics` method without `ColumnDescriptor` as deprecated [arrow]

Posted by "HuaHuaY (via GitHub)" <gi...@apache.org>.
HuaHuaY commented on PR #50738:
URL: https://github.com/apache/arrow/pull/50738#issuecomment-5129855923

   @pitrou Please take a look. How do you think about marking this method as deprecated?


-- 
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@arrow.apache.org

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


Re: [PR] GH-50737: [C++][Parquet] mark `MakeStatistics` method without `ColumnDescriptor` as deprecated [arrow]

Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #50738:
URL: https://github.com/apache/arrow/pull/50738#issuecomment-5167967032

   After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 874350100d1d13cf6376c45f391da28b27cde4e7.
   
   There were no benchmark performance regressions. 🎉
   
   The [full Conbench report](https://github.com/apache/arrow/runs/91723813257) has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them.


-- 
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@arrow.apache.org

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