You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "xiong duan (Jira)" <ji...@apache.org> on 2023/05/18 13:17:00 UTC

[jira] [Created] (CALCITE-5711) Implement the SINGLE_VALUE aggregation in PostgreSQL Dialect

xiong duan created CALCITE-5711:
-----------------------------------

             Summary: Implement the SINGLE_VALUE aggregation in PostgreSQL Dialect
                 Key: CALCITE-5711
                 URL: https://issues.apache.org/jira/browse/CALCITE-5711
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.34.0
            Reporter: xiong duan
            Assignee: xiong duan
             Fix For: 1.35.0


When we use the SQL include the scalar query for example:
{code:java}
select * from table where id = (select code from table){code}
Convert this SQL Rel to PostgreSQL will include the SINGLE_VALUE aggregation function(PostgreSQL can't handle it) in the dialect SQL.



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