You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by dl...@apache.org on 2017/11/10 17:50:30 UTC

asterixdb git commit: [NO ISSUE][SQL] Fix token name typo in SQL++ parser

Repository: asterixdb
Updated Branches:
  refs/heads/master c90f1e38a -> 8b6578add


[NO ISSUE][SQL] Fix token name typo in SQL++ parser

- user model changes: no
- storage format changes: no
- interface change: no

Details:
- Fixed token name typo in SQL++ parser

Change-Id: I7288811a6ade385647f58e1b4a2a03b8704f7923
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2136
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <ti...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/8b6578ad
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/8b6578ad
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/8b6578ad

Branch: refs/heads/master
Commit: 8b6578add5132b1e9ad82545d49cc15fff79d24a
Parents: c90f1e3
Author: Dmitry Lychagin <dm...@couchbase.com>
Authored: Wed Nov 8 15:04:35 2017 -0800
Committer: Dmitry Lychagin <dm...@couchbase.com>
Committed: Fri Nov 10 09:42:39 2017 -0800

----------------------------------------------------------------------
 asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/8b6578ad/asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj b/asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj
index 7c4d15c..a58ce0f 100644
--- a/asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj
+++ b/asterixdb/asterix-lang-sqlpp/src/main/javacc/SQLPP.jj
@@ -1996,7 +1996,7 @@ Expression IsExpr() throws ParseException:
         (
             <NULL> { fn = BuiltinFunctions.IS_NULL; } |
             <MISSING> { fn = BuiltinFunctions.IS_MISSING; } |
-            <UNKOWN> { fn = BuiltinFunctions.IS_UNKNOWN; }
+            <UNKNOWN> { fn = BuiltinFunctions.IS_UNKNOWN; }
         )
       {
         FunctionSignature signature = new FunctionSignature(fn);
@@ -3270,7 +3270,7 @@ TOKEN [IGNORE_CASE]:
   | <TYPE : "type">
   | <TO : "to">
   | <UNION : "union">
-  | <UNKOWN : "unknown">
+  | <UNKNOWN : "unknown">
   | <UNNEST : "unnest">
   | <UPDATE : "update">
   | <UPSERT : "upsert">