[
https://issues.apache.org/jira/browse/CALCITE-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7696:
------------------------------------
Labels: pull-request-available (was: )
> COVAR result type is derived only from first argument type
> ----------------------------------------------------------
>
> Key: CALCITE-7696
> URL: https://issues.apache.org/jira/browse/CALCITE-7696
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
>
> COVAR coerces the second argument to the type of the first.
> So COVAR(INT, DOUBLE) will actually compute on INT. Perhaps leastRestrictive
> should be used instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)