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)

Reply via email to