vvysotskyi opened a new pull request, #2521:
URL: https://github.com/apache/drill/pull/2521

   # [DRILL-8013](https://issues.apache.org/jira/browse/DRILL-8013): Drill 
attempts to push "$SUM0" to JDBC storage plugin for AVG
   
   ## Description
   Added `DrillCalciteSqlSumEmptyIsZeroAggFunctionWrapper` that extends 
`SqlSumEmptyIsZeroAggFunction` and wraps `SqlSumEmptyIsZeroAggFunction` only in 
order to enable functionality added in CALCITE-1174 (`When generating SQL, 
translate SUM0(x) to COALESCE(SUM(x), 0)`)
   
   ## Documentation
   NA
   
   ## Testing
   Added unit test.
   


-- 
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: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to