[ https://issues.apache.org/jira/browse/DRILL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383857#comment-14383857 ]
Aman Sinha commented on DRILL-2599: ----------------------------------- +1. I think we should do the same for AVG instead of removing the final cast. > Wrong results while using stddev with views > ------------------------------------------- > > Key: DRILL-2599 > URL: https://issues.apache.org/jira/browse/DRILL-2599 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization > Reporter: Mehant Baid > Assignee: Mehant Baid > Fix For: 0.9.0 > > Attachments: DRILL-2599.patch > > > We seem to be injecting an additional cast in DrillReduceAggregate rule in > the case we know the input type of the aggregate function. -- This message was sent by Atlassian JIRA (v6.3.4#6332)