slfan1989 opened a new pull request, #15:
URL: https://github.com/apache/paimon-cpp/pull/15

   ### Purpose
   
   Linked issue: close #14
   
   Make `RowKind::FromShortString` consistent with Java Paimon's 
`RowKind.fromShortString` behavior.
   
   Java Paimon normalizes the input to uppercase before matching, so lowercase 
short strings such as `+i`, `-u`, `+u`, and `-d` are accepted. This PR updates 
paimon-cpp to accept the same lowercase variants.
   
   ### Tests
   
   Added unit test coverage for lowercase RowKind short strings:
   
   - `+i` maps to `INSERT`
   - `-u` maps to `UPDATE_BEFORE`
   - `+u` maps to `UPDATE_AFTER`
   - `-d` maps to `DELETE`
   
   ### API and Format
   
   No. 
   This change does not affect public API headers under include/, storage 
format, or protocol.
   
   ### Documentation
   
   No.
   This is a compatibility bug fix and does not introduce a new feature.
   
   ### Generative AI tooling
   
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to