I run the following statement to replace the characters of ".." to ".":
CREATE TABLE TableA AS
SELECT Column1,
REGEXP_REPLACE(Column2, "..", ".") AS NewColumn
FROM TableB;
The result of NewColumn became ".......", what's wrong with the REGEXP_REPLACE() function?
question from:https://stackoverflow.com/questions/65952959/replace-function-for-hivesql-regexp-replace-not-working-as-intended