drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1940) Define and document rules for SQL identifiers
Date Sat, 28 Mar 2015 00:22:54 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aman Sinha updated DRILL-1940:
------------------------------
    Fix Version/s:     (was: 0.9.0)
                   1.0.0

> Define and document rules for SQL identifiers 
> ----------------------------------------------
>
>                 Key: DRILL-1940
>                 URL: https://issues.apache.org/jira/browse/DRILL-1940
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 0.8.0
>            Reporter: Victoria Markman
>            Assignee: Aman Sinha
>             Fix For: 1.0.0
>
>
> To start with:
>         * Max length is 1024 (what are the units ? Bytes or characters ? )
>         * Length is configurable: planner.identifier_max_length
>         * What characters are allowed ?
>                 * Can names be UTF-8 characters ?
>                 * Fact: can't start with digits, anything else not allowed ?
>         * Can't be reserved words
>         * Case insensitive, but case preserving (with examples)
>         * Quoted identifiers are not supported
>         * What are the rules for dealing with ambiugius names ?
>                 *  select *, a1 from `t1.json`;
>                 *  select a1 as a1, a1 from t1; 



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

Mime
View raw message