Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
Description
Enhance Calcite SQLParser to support SPARK SQL queries expressions - RLIKE
Current Behavior : Parsing queries having rlike expression throws exception
val query1 = "select cola from tableA where MAX(realm_email) rlike '.@.\\\\..+'"
StatementMetadataFragment(com.intuit.superglue.pipeline.parsers.CalciteStatementParser,UNKNOWN,List(),List(),List(org.apache.calcite.sql.parser.SqlParseException: Encountered "rlike" at line 1, column 48.
All these queries are correctly being parsed via SPARK SQL . But calcite's parser grammer file doesn't suport these tokens
Since this is SPARK SQL specific , these changes will be implemented in BABEL Parser
Attachments
Issue Links
- duplicates
-
CALCITE-3574 Add RLIKE operator (similar to LIKE, but Hive- and Spark-specific)
- Closed
- links to