Member since
03-24-2022
3
Posts
1
Kudos Received
0
Solutions
03-24-2022
11:35 AM
1 Kudo
Fingers crossed it can push the reported bug up the review list a bit then! 🙂 Thanks for the excellent help and attention..
... View more
03-24-2022
11:32 AM
Thanks all! I'm curious - does it mean that the documentation will be heavily rewritten to detail how .*? implementation is atypical, or will the bug be fixed so the documentation can be tweaked to be correct?
... View more
03-24-2022
01:20 AM
From the docs at https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_string_functions.html#string_functions__regexp_extract "This example shows how a pattern string starting with .*? matches the shortest possible portion of the source string, returning the rightmost set of lowercase letters." select regexp_extract('AbcdBCdefGHI','.*?([[:lower:]]+)',1); returns def Every other Regex impl I've worked with would return bcd I can't make sense of the docs either - "shortest possible string.. returns the rightmost.." - the shortest possible string in a "search from the left" operation returns the leftmost, not the rightmost
... View more
Labels:
- Labels:
-
Apache Impala