yiguolei commented on code in PR #24241:
URL: https://github.com/apache/doris/pull/24241#discussion_r1322747376


##########
be/src/util/string_parser.hpp:
##########
@@ -746,6 +748,14 @@ T StringParser::string_to_decimal(const char* s, int len, 
int type_precision, in
     *result = StringParser::PARSE_SUCCESS;
     if (UNLIKELY(precision - scale > type_precision - type_scale)) {
         *result = StringParser::PARSE_OVERFLOW;
+        if constexpr (TYPE_DECIMALV2 == P) {

Review Comment:
   clang tidy check will fail



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to