quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zu...@apache.org
Subject [1/5] incubator-quickstep git commit: Refactored partition_type in parser. [Forced Update!]
Date Wed, 11 Jan 2017 03:42:31 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/quickstep_partition_parser_support 4890bbe83 -> 3750babdf (forced update)


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/86411b9c/parser/preprocessed/SqlParser_gen.hpp
----------------------------------------------------------------------
diff --git a/parser/preprocessed/SqlParser_gen.hpp b/parser/preprocessed/SqlParser_gen.hpp
index fe963be..f1876b8 100644
--- a/parser/preprocessed/SqlParser_gen.hpp
+++ b/parser/preprocessed/SqlParser_gen.hpp
@@ -1,8 +1,8 @@
-/* A Bison parser, made by GNU Bison 3.0.2.  */
+/* A Bison parser, made by GNU Bison 3.0.4.  */
 
 /* Bison interface for Yacc-like parsers in C
 
-   Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
+   Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -181,10 +181,10 @@ extern int quickstep_yydebug;
 
 /* Value type.  */
 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
-typedef union YYSTYPE YYSTYPE;
+
 union YYSTYPE
 {
-#line 120 "../SqlParser.ypp" /* yacc.c:1909  */
+#line 120 "../SqlParser.ypp" /* yacc.c:1915  */
 
   quickstep::ParseString *string_value_;
 
@@ -284,8 +284,10 @@ union YYSTYPE
 
   quickstep::ParsePriority *opt_priority_clause_;
 
-#line 288 "SqlParser_gen.hpp" /* yacc.c:1909  */
+#line 288 "SqlParser_gen.hpp" /* yacc.c:1915  */
 };
+
+typedef union YYSTYPE YYSTYPE;
 # define YYSTYPE_IS_TRIVIAL 1
 # define YYSTYPE_IS_DECLARED 1
 #endif

http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/86411b9c/parser/tests/Create.test
----------------------------------------------------------------------
diff --git a/parser/tests/Create.test b/parser/tests/Create.test
index 49e7ccd..eee44a6 100644
--- a/parser/tests/Create.test
+++ b/parser/tests/Create.test
@@ -147,7 +147,7 @@ CreateTableStatement[relation_name=test]
 +-attribute_list=
 | +-AttributeDefinition[name=attr,type=Int]
 +-partition_clause=
-  +-PartitionClause[partition_type=0]
+  +-PartitionClause[partition_type=hash]
     +-Number of Partitions=NumericLiteral[numeric_string=4,float_like=false]
     +-attribute_name_list=
       +-String[value=attr]


Mime
View raw message