apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
5.29k stars 973 forks source link

Minor: Extend more style of udaf `expr_fn`, Remove order args for`covar_samp` and `covar_pop` #10492

Closed jayzhan211 closed 2 weeks ago

jayzhan211 commented 2 weeks ago

Which issue does this PR close?

Closes #.

Part of #10484

Rationale for this change

Improve expr_fn usage

  1. add expr_fn for count(arg, dictinct) where has additional argument distinct
  2. covariance_pop(arg) where has no any additional argument

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?