asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtadha Hubail (JIRA)" <>
Subject [jira] [Created] (ASTERIXDB-2050) Enforce a Semicolon After Each SQL++ Statement
Date Mon, 21 Aug 2017 10:04:00 GMT
Murtadha Hubail created ASTERIXDB-2050:

             Summary: Enforce a Semicolon After Each SQL++ Statement
                 Key: ASTERIXDB-2050
             Project: Apache AsterixDB
          Issue Type: Improvement
          Components: SQL - Translator SQL++
            Reporter: Murtadha Hubail
            Assignee: Murtadha Hubail

Currently, only queries must be followed by a semicolon in SQL++ and it's optional to follow
DDLs/DMLs with one. While this gives some flexibly to the user, it could lead to many unintentional
errors and ambiguity.

For example, when this is executed:
create dataverse x + 1 + 1;

The dataverse 'x' will be created and the following will be returned:

The proposed solution to eliminate this ambiguity is to enforce a semicolon after every SQL++

This message was sent by Atlassian JIRA

View raw message