zhangstar333 commented on code in PR #42488:
URL: https://github.com/apache/doris/pull/42488#discussion_r1820038541


##########
be/src/vec/functions/url/domain.h:
##########
@@ -144,4 +145,138 @@ struct ExtractDomain {
     }
 };
 
+struct ExtractTopLevelDomain {
+    static size_t get_reserve_length_for_element() { return 5; }
+
+    static void execute(const char* data, size_t size, const char*& res_data, 
size_t& res_size) {

Review Comment:
   now the ExtractSubstringImpl function have abstract this function interface.
   if changed maybe update other functions, it's a little more



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