emptyOVO opened a new issue, #10980:
URL: https://github.com/apache/inlong/issues/10980

   ### Description
   
   * parent https://github.com/apache/inlong/issues/10796
   * A string comparison function in MySQL that compares the lexicographical 
order of two strings, str1 and str2. This function returns an integer value 
representing the result of comparing two strings
   
   ### Use case
   
   * STRCMP('apple', 'apple')--returns 0, 
   * STRCMP('apple', 'banana')--returns 1, 'apple' is less than 'banana' in 
lexicographical order, so the result is -1
   * STRCMP('apple', 'applepie')--returns -1, 'apple' is less than 'banana' in 
lexicographical order, so the result is -1
   * STRCMP('apple', 'applepie')--returns -1, Although the first five 
characters are the same, 'apple' is less long than 'applepie', so the result is 
-1
   * STRCMP('', 'apple')--returns -1, An empty string is always less than any 
non-empty string, so the result is -1
   * STRCMP('Apple', 'apple')--returns -1, By default, MySQL comparisons are 
case-sensitive, so the ASCII value of 'A' is less than 'a', resulting in -1
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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