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: [email protected]

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

Reply via email to