[
https://issues.apache.org/jira/browse/CALCITE-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-6547:
------------------------------------
Labels: pull-request-available (was: )
> Result type inferred for STDDEV_SAMP is incorrect
> -------------------------------------------------
>
> Key: CALCITE-6547
> URL: https://issues.apache.org/jira/browse/CALCITE-6547
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.37.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
>
> STDDEV_SAMP can return NULL even if the input is non-null and non-empty - it
> returns NULL when the input set has only one element. E.g. see the Oracle
> documentation:
> https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/VAR_SAMP.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)