Peter Rozsa created IMPALA-13357:
------------------------------------
Summary: REGEXP_REPLACE swallows the first backslash from escaped
strings
Key: IMPALA-13357
URL: https://issues.apache.org/jira/browse/IMPALA-13357
Project: IMPALA
Issue Type: Bug
Reporter: Peter Rozsa
Example: select regexp_replace('a\\b', '\\+', '');
Output: a\b (the shell interprets the first \)
Expected output: ab
getUnescapedValue() in StringLiteral uses MetastoreShim.unescapeSQLString which
removes the first backslash from the pattern
--
This message was sent by Atlassian Jira
(v8.20.10#820010)