You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Zhuravkov (Jira)" <ji...@apache.org> on 2024/12/02 07:17:00 UTC

[jira] [Created] (IGNITE-23813) Sql. Provide correct implementation of LITERAL_AGG aggregate function

Maksim Zhuravkov created IGNITE-23813:
-----------------------------------------

             Summary: Sql. Provide correct implementation of LITERAL_AGG aggregate function
                 Key: IGNITE-23813
                 URL: https://issues.apache.org/jira/browse/IGNITE-23813
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Maksim Zhuravkov


Current Implementation of LITERAL_AGG aggregate function (see LiteralVal) is not correct because it always produces a result of type BOOLEAN. But according to https://issues.apache.org/jira/browse/CALCITE-4334 this function can return a value if an arbitrary type.

The implementation of LITERAL_AGG aggregate function should conform to its definition described in CALCITE-4334:
- it should support all natively supported literals.
- It should use pre-operands provided by AggregateCall (rexList).




--
This message was sent by Atlassian Jira
(v8.20.10#820010)