Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.34.0
Description
Operations like :
SELECT null !~ 'ab[cd]' SELECT 'abcd' !~ null SELECT null !~ null SELECT null !~* 'ab[cd]' SELECT 'abcd' !~* null SELECT null !~* null
is not possible for now, NPE is raised :
Caused by: java.lang.NullPointerException at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1770) at java.base/java.util.regex.Matcher.reset(Matcher.java:416) at java.base/java.util.regex.Matcher.<init>(Matcher.java:253) at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134) at org.apache.calcite.runtime.SqlFunctions.posixRegex(SqlFunctions.java:864)
Attachments
Issue Links
- is related to
-
CALCITE-3063 Babel parse should parse PostgreSQL posix regular expressions
- Closed
- links to