Tanya-W commented on code in PR #14211:
URL: https://github.com/apache/doris/pull/14211#discussion_r1058122554


##########
fe/fe-core/src/main/jflex/sql_scanner.flex:
##########
@@ -293,6 +293,15 @@ import org.apache.doris.qe.SqlModeHelper;
         keywordMap.put("lock", new Integer(SqlParserSymbols.KW_LOCK));
         keywordMap.put("low_priority", new 
Integer(SqlParserSymbols.KW_LOW_PRIORITY));
         keywordMap.put("map", new Integer(SqlParserSymbols.KW_MAP));
+        keywordMap.put("match", new Integer(SqlParserSymbols.KW_MATCH));
+        keywordMap.put("match_any", new 
Integer(SqlParserSymbols.KW_MATCH_ANY));
+        keywordMap.put("match_all", new 
Integer(SqlParserSymbols.KW_MATCH_ALL));
+        keywordMap.put("match_phrase", new 
Integer(SqlParserSymbols.KW_MATCH_PHRASE));
+        keywordMap.put("element_eq", new 
Integer(SqlParserSymbols.KW_MATCH_ELEMENT_EQ));

Review Comment:
   These keywords are used to support the query of inverted index for column of 
array type. To better adapt to user habits, match_ prefix is not added



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to