You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zclllyybb (via GitHub)" <gi...@apache.org> on 2023/04/06 13:50:10 UTC

[GitHub] [doris] zclllyybb commented on a diff in pull request #18310: [Optimization](functions)Optimize function call for const columns.

zclllyybb commented on code in PR #18310:
URL: https://github.com/apache/doris/pull/18310#discussion_r1159826375


##########
be/src/vec/functions/function_json.cpp:
##########
@@ -244,17 +244,44 @@ struct GetJsonNumberType {
         for (size_t i = 0; i < size; ++i) {
             const char* l_raw_str = reinterpret_cast<const char*>(&ldata[loffsets[i - 1]]);
             int l_str_size = loffsets[i] - loffsets[i - 1];
-

Review Comment:
   it has other common dependencies. found another way to extract common logic.



-- 
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-unsubscribe@doris.apache.org

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


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