sjyango opened a new pull request, #34266:
URL: https://github.com/apache/doris/pull/34266

   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   - before this pr:
   ```shell
   mysql> select id, is_ip_address_in_range(addr, '192.168.100.0/24') from 
test_is_ip_address_in_range_function order by id;
   ERROR 1105 (HY000): errCode = 2, detailMessage = 
(10.214.224.189)[CANCELLED][INVALID_ARGUMENT][E33] Illegal column Const(String) 
of argument of function is_ip_address_in_range, expected String
   
           0#  doris::get_stack_trace(int, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >) at 
/home/ysj/doris/be/src/util/stack_util.cpp:54
           1#  doris::Exception::Exception(int, std::basic_string_view<char, 
std::char_traits<char> > const&) at 
/home/ysj/doris/be/src/common/exception.cpp:28
           2#  doris::Exception::E
   ```
   - after this pr:
   Execute normally without any errors when input is const param.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to