mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
* SQL: integer parameter validation in string functions (#58923) In insert, locate, substring function, when argument `start` or `length` is greater than Integer.MAX_INT OR less then Integer.MIN_INT + 1 (note that `start` need to minus 1), it causes overflow and leads to unexpected results. * Add range checks for BinaryStringNumericProcessors - Add range checks for Left, Right, Repeat. - Minor refactorings on initial PR changes. Co-authored-by: yinanwu <yinanwu@tencent.com> (cherry picked from commit bf6dc58b93529f977d035a846d083b1c31867694) Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Elastic License Functionality
This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.