You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Palash Chauhan (Jira)" <ji...@apache.org> on 2026/06/11 19:45:00 UTC

[jira] [Resolved] (PHOENIX-7880) BSON_UPDATE_EXPRESSION corrupts literal string SET values containing + or -

     [ https://issues.apache.org/jira/browse/PHOENIX-7880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Palash Chauhan resolved PHOENIX-7880.
-------------------------------------
    Resolution: Fixed

> 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.0, 5.3.1
>            Reporter: Palash Chauhan
>            Assignee: Palash Chauhan
>            Priority: Major
>             Fix For: 5.4.0, 5.3.2
>
>
> 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)