drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul-rogers <...@git.apache.org>
Subject [GitHub] drill pull request #666: DRILL-4956: Temporary tables support
Date Tue, 06 Dec 2016 06:12:26 GMT
Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/666#discussion_r90701076
  
    --- Diff: exec/java-exec/src/main/codegen/includes/parserImpls.ftl ---
    @@ -214,8 +214,8 @@ SqlNode SqlDropView() :
     }
     
     /**
    - * Parses a CTAS statement.
    - * CREATE TABLE tblname [ (field1, field2, ...) ] AS select_statement.
    + * Parses a CTAS or CTTAS statement.
    + * CREATE [TEMPORARY] TABLE tblname [ (field1, field2, ...) ] AS select_statement.
    --- End diff --
    
    MySQL requires the full TEMPORARY keyword. Postgress allows both TEMPORARY and the shorter
TEMP. (SqlServer requires a funky # table name prefix.) Oracle seems to use the full TEMPORARY
keyword.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message