neilconway opened a new issue, #22716:
URL: https://github.com/apache/datafusion/issues/22716

   ### Describe the bug
   
   #21081 capped the NDV at the row count in statistics computation for several 
operations, including filters. In the filter case, there's some additional work 
to ensure column stats are consistent after applying a filter:
   
   * Null count should also be capped at the row count
   * `byte_size` should be scaled down by the filter selectivity
   
   Furthermore, we can detect when a predicate is NULL-rejecting; for 
null-rejecting predicates like `a = 10`, we can set the `null_count` to 0.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to