Palash Chauhan created PHOENIX-7880:
---------------------------------------

             Summary: BSON_UPDATE_EXPRESSION corrupts literal string SET values 
containing + or -
                 Key: PHOENIX-7880
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7880
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 5.3.1, 5.3.0
            Reporter: Palash Chauhan
            Assignee: Palash Chauhan
             Fix For: 5.4.0


UpdateExpressionUtils.getNewFieldValue infers arithmetic from the content of a 
BsonString SET value (contains(" + ") / contains(" - ")). Any literal string 
that happens to contain a space-delimited +/- is misparsed as an arithmetic 
expression, causing the update to fail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to