java.lang.IllegalArgumentException: PREPARE: Illegal Argument: Table, index and unquoted field names may contain only alphanumeric values plus the character "_". Error: at (1, 104) mismatched input 'LIKE' expecting {<EOF>, AND, GROUP, IS, LIMIT, OFFSET, OR, ORDER, '[', '*', '.', '<', '<=', '>', '>=', '=', '!=', LT_ANY, LTE_ANY, GT_ANY, GTE_ANY, EQ_ANY, NEQ_ANY, '+', '-', '/', RDIV, '||'}, at line 1:104
rule stack: [parse]
The 'LIKE' operator is not supported in Oracle NoSQL Database. Consider using 'REGEXP_LIKE' for pattern matching.
It is unclear whether the
LIKEoperator is supported in the Oracle NoSQL Database. I attempted to execute a query that appeared to follow the correct syntax but encountered an error message suggesting otherwise.Example Query
Error Message
The query fails with the following error:
Observations
LIKEis not recognized by the query parser.LIKEand uses a placeholder (?) for parameter binding.LIKEoperator itself or some other part of the query.Request for Clarification
LIKEoperator for string pattern matching?REGEXP_LIKEbe used instead?LIKEis supported, is there a specific syntax requirement or limitation that needs to be addressed?Suggested Improvement
If
LIKEis unsupported, it would be helpful for the error message to state this, such as: explicitlyPS: At the documentation I only find the regular expression: https://docs.oracle.com/en/database/other-databases/nosql-database/24.4/nsdev/regular-expression-conditions.html