You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/25 13:54:14 UTC

[GitHub] [incubator-doris] xinghuayu007 opened a new issue #4451: parse_url function can not parse "protocol" correctly

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:
users@infra.apache.org



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


[GitHub] [incubator-doris] Pslydhh removed a comment on issue #4451: parse_url function can not parse "protocol" correctly

Posted by GitBox <gi...@apache.org>.
Pslydhh removed a comment on issue #4451:
URL: https://github.com/apache/incubator-doris/issues/4451#issuecomment-685103903


   +1, This looks correct to me.


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-doris] imay closed issue #4451: parse_url function can not parse "protocol" correctly

Posted by GitBox <gi...@apache.org>.
imay closed issue #4451:
URL: https://github.com/apache/incubator-doris/issues/4451


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-doris] Pslydhh commented on issue #4451: parse_url function can not parse "protocol" correctly

Posted by GitBox <gi...@apache.org>.
Pslydhh commented on issue #4451:
URL: https://github.com/apache/incubator-doris/issues/4451#issuecomment-685103903


   +1, This looks correct to me.


----------------------------------------------------------------
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:
users@infra.apache.org



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