You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2024/08/27 04:44:00 UTC
[jira] [Created] (CALCITE-6547) Result type inferred for STDDEV_SAMP is incorrect
Mihai Budiu created CALCITE-6547:
------------------------------------
Summary: 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
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)