GitHub user DaveBirdsall opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/852

    [TRAFODION-2367] EXPLAIN documentation updates + syntax tweak

    Three changes:
    
    1. Noted in EXPLAIN documentation that some non-reserved keywords can be 
used for statement names in PREPARE but cause syntax errors when used in 
EXPLAIN. Noted that as a workaround, one can change the name to a delimited 
identifier.
    
    2. Tweaked the EXPLAIN syntax in the SQL parser to accept all one-letter 
non-reserved keywords as statement names. So, for example, "explain c;" will 
now work instead of raising a syntax error.
    
    3. Fixed the EXPLAIN documentation to note that one can do "EXPLAIN 
query_text" as well.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DaveBirdsall/incubator-trafodion Trafodion2367

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/852.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #852
    
----
commit 93741f7d60d689778aa405c6e10be187a20e3a6f
Author: Dave Birdsall <dbirds...@apache.org>
Date:   2016-11-23T23:30:57Z

    [TRAFODION-2367] EXPLAIN documentation updates + syntax tweak

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to