You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2023/06/20 21:06:00 UTC

[jira] [Created] (CALCITE-5790) Query with "*" but no FROM clause should be invalid

Julian Hyde created CALCITE-5790:
------------------------------------

             Summary: Query with "*" but no FROM clause should be invalid
                 Key: CALCITE-5790
                 URL: https://issues.apache.org/jira/browse/CALCITE-5790
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde


The query
{code}
SELECT *
{code}
(which has a "*" indicating "all columns of all source tables" but no {{FROM}} clause to define source tables) should be invalid.

The validator should throw "SELECT * requires a FROM clause".



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