You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Brick Shitting Bird Jr. (JIRA)" <ji...@apache.org> on 2015/12/28 15:37:49 UTC

[jira] [Created] (DRILL-4229) Parse query exception on 'USE mongo.Ref'

Brick Shitting Bird Jr. created DRILL-4229:
----------------------------------------------

             Summary: Parse query exception on 'USE mongo.Ref'
                 Key: DRILL-4229
                 URL: https://issues.apache.org/jira/browse/DRILL-4229
             Project: Apache Drill
          Issue Type: Bug
          Components: SQL Parser
    Affects Versions: 1.3.0
            Reporter: Brick Shitting Bird Jr.


0: jdbc:drill:zk=local> USE mongo.Ref;
Error: PARSE ERROR: Encountered ". Ref" at line 1, column 10.
Was expecting one of:
    <EOF>
    "." <IDENTIFIER> ...
    "." <QUOTED_IDENTIFIER> ...
    "." <BACK_QUOTED_IDENTIFIER> ...
    "." <BRACKET_QUOTED_IDENTIFIER> ...
    "." <UNICODE_QUOTED_IDENTIFIER> ...
    "." "*" ...
    "[" ...


while parsing SQL query:
USE mongo.Ref
         ^


[Error Id: 8bcb01a5-51f7-4ed5-bd44-e388656d5eac on K1404015.kontur:31010] (state
=,code=0)

But it works when using backquotes "USE mongo.`Ref`;"



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