oap-project / gazelle_plugin

Native SQL Engine plugin for Spark SQL with vectorized SIMD optimizations.
Apache License 2.0
256 stars 76 forks source link

Missing AggregateMode check for first func in ColumnarHashAggregateExec #1202

Open jackylee-ch opened 1 year ago

jackylee-ch commented 1 year ago

Describe the bug We meet the Exception while running gazelle.

java.lang.UnsupportedOperationException: PartialMerge is NOT supported for First agg func.!

To Reproduce select col, count(distinct col1), first(col2) from table group by col