Github user kakaxi3019 commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1622#discussion_r200241409
--- Diff: core/sql/parser/sqlparser.y ---
@@ -500,6 +501,7 @@ static void enableMakeQuotedStringISO88591Mechanism()
%token <tokval> TOK_CARDINALITY
%token <tokval> TOK_CASE
%token <tokval> TOK_CAST
+%token <tokval> TOK_CENTURY
--- End diff --
add TOK_CENTURY, TOK_DECADE, TOK_DOW, TOK_DOY ,TOK_EPOCH, TOK_WOM to
nonreserved_word
TOK_WEEK, TOK_QUARTER already exists in nonreserved_func_word
---