xinghuayu007 opened a new issue #4451:
URL: https://github.com/apache/incubator-doris/issues/4451


   **Describe the bug**
   parse_url function can not parse "PROTOCOL" correctly, and can not support 
to parse "PORT", and it is case sensitive.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. execute sql **"select parse_url("http://www.baidu.com:8080";, 
"PROTOCOL");"**
   2. it returns error:
   ![2020-08-25 
21-46-42屏幕截图](https://user-images.githubusercontent.com/12771191/91182686-132cea80-e71d-11ea-8fed-84d185bf1f9d.png)
   
   3. execute sql "select parse_url("http://www.baidu.com:8080";, "host");"
   4. it returns error:
   ![2020-08-25 
21-47-05屏幕截图](https://user-images.githubusercontent.com/12771191/91182792-36579a00-e71d-11ea-9c57-fe8e1b1e57f4.png)
   
   5. execute sql "select parse_url("http://www.baidu.com:8080";, "PORT");"
   6. it returns error:
   ![2020-08-25 
21-47-28屏幕截图](https://user-images.githubusercontent.com/12771191/91182879-55562c00-e71d-11ea-994a-9224b94f34f5.png)
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
    - Browser [e.g. chrome, safari]
    - Version [e.g. 22]
   
   **Smartphone (please complete the following information):**
    - Device: [e.g. iPhone6]
    - OS: [e.g. iOS8.1]
    - Browser [e.g. stock browser, safari]
    - Version [e.g. 22]
   
   **Additional context**
   Add any other context about the problem here.
   


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

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