Fedor Malchikov  created IGNITE-14157:
-----------------------------------------

             Summary: SQL. Calcite: Returns the name of the variable for count 
operations as the column name
                 Key: IGNITE-14157
                 URL: https://issues.apache.org/jira/browse/IGNITE-14157
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Fedor Malchikov 


Example:
{code:sql}
CREATE TABLE t1 ( id INT NOT NULL, int_col INT, PRIMARY KEY (id));
SELECT COUNT(*) FROM t1;
+--------------------------------+
|             EXPR$0             |
+--------------------------------+
+--------------------------------+


{code}
H2 return as expected:
{code:java}
 SELECT COUNT(*) FROM t1;
+--------------------------------+
|            COUNT(*)            |
+--------------------------------+
| 0                              |
+--------------------------------+
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to