Crystrix opened a new pull request #12251: URL: https://github.com/apache/arrow/pull/12251
The result of hash_count such array is incorrect. For a table like this: <table> <thead> <tr> <th>argument</th> <th>key</th> </tr> </thead> <tbody> <tr> <td>NULL</td> <td>1</td> </tr> <tr> <td>NULL</td> <td>1</td> </tr> </tbody> </table> The result is : <table> <thead> <tr> <th>CountOptions</th> <th>Expected</th> <th>Actual</th> </tr> </thead> <tbody> <tr> <td>ONLY_VALID</td> <td>0</td> <td>2</td> </tr> <tr> <td>ONLY_NULL</td> <td>2</td> <td>0</td> </tr> </tbody> </table> This PR handles null type with different count options. -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org