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

   ## Proposed changes
   
   Issue Number: close #xxx
   
   Function related:
   - **ipv4_string_to_num**
   - **ipv4_string_to_num_or_default**
   
   <!--Describe your changes.-->
   In the past, when ipv4_string_to_num or ipv4_string_to_num_or_default 
handled with the **NULL** input, we got this error:
   
![image](https://github.com/apache/doris/assets/42577861/1732bd13-7aab-404a-9e52-f79e84dd4267)
   
   In this PR, we fix it, which is making ipv4_string_to_num throw an 
**exception** and ipv4_string_to_num_or_default return **0**.
   
![image](https://github.com/apache/doris/assets/42577861/271e1444-246e-4917-8aca-295f6af34c34)
   
   
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) 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: 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