[
https://issues.apache.org/jira/browse/CALCITE-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379702#comment-17379702
]
duan xiong commented on CALCITE-4692:
-------------------------------------
Please add Redshift dialect info in ISSUE's title. This will make the issue
more intuitive.
> Calcite typecasts the output of aggregate functions on integer columns to
> DOUBLE
> --------------------------------------------------------------------------------
>
> Key: CALCITE-4692
> URL: https://issues.apache.org/jira/browse/CALCITE-4692
> Project: Calcite
> Issue Type: Bug
> Reporter: Narayanan Venkateswaran
> Assignee: Narayanan Venkateswaran
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Redshift does not support the DOUBLE datatype and results in an error. The
> fix requires internally transforming the aggregate function output to float8
> instead of double.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)