You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:17:42 UTC

[jira] [Created] (TRAFODION-651) LP Bug: 1373151 - Consecutive dashes in identifiers fail

Alice Chen created TRAFODION-651:
------------------------------------

             Summary: LP Bug: 1373151 - Consecutive dashes in identifiers fail
                 Key: TRAFODION-651
                 URL: https://issues.apache.org/jira/browse/TRAFODION-651
             Project: Apache Trafodion
          Issue Type: Bug
          Components: connectivity-general
            Reporter: Roberta Marton
            Assignee: Anuradha Hegde
            Priority: Minor


If consecutive dashes are part of a SQL identifiers, the parser gets confused.

Welcome to Trafodion Command Interface


SQL>create schema dbr_sch;

--- SQL operation complete.

SQL>set schema dbr_sch;

--- SQL operation complete.

SQL>create table "tab1--tab2" (a int not null not droppable, c char(1), primary key (a));
+>;

*** ERROR[15005] Unmatched quote in input (unterminated string):
 
It looks like the parser is treating double dashes as a comment.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)