v.22.10Improvement
Allow countState() syntax similar to count()
Allow user to writecountState()similar tocount(). This closes #9338. #41983 (Amos Bird).
Why it matters
This feature simplifies syntax for aggregate functions by allowing users to writecountState() without specifying explicit columns, improving usability and consistency with count(). It addresses issue #9338 to enhance the user experience when working with aggregate function states.How to use it
Users can directly write queries usingcountState() wherever aggregate states are supported, just like using count(). No extra configuration or flags are needed.