Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.19.0
-
None
Description
When running a query that includes the AVG aggregate against a JDBC data source, Drill transforms AVG into SUM0 / COUNT. COUNT is pushed down to the source correctly but SUM0 is pushed down as "$SUM0" instead of SUM, causing a syntax error. More info is visible at the link below.