Github user prasadns14 commented on a diff in the pull request:
https://github.com/apache/drill/pull/1033#discussion_r152900961
--- Diff: exec/java-exec/src/main/codegen/includes/parserImpls.ftl ---
@@ -215,11 +223,12 @@ SqlNode SqlDropView() :
/**
* Parses a CTAS or CTTAS statement.
- * CREATE [TEMPORARY] TABLE tblname [ (field1, field2, ...) ] AS
select_statement.
+ * CREATE [TEMPORARY] TABLE [IF NOT EXISTS] tblname [ (field1, field2,
...) ] AS select_statement.
*/
SqlNode SqlCreateTable() :
{
SqlParserPos pos;
+ boolean tableNonExistenceCheck = false;
--- End diff --
Moved the new parameter to the end
---