andygrove opened a new issue, #21943:
URL: https://github.com/apache/datafusion/issues/21943

   ### Describe the bug
   
   I'm working on enabling `parse_url` in Comet in 
https://github.com/apache/datafusion-comet/pull/4152 and found some 
incompatibilities.
   
   ```sql
     SELECT parse_url('', 'PATH');                                              
                                                                                
                                          
     -- Spark: ""    Comet: NULL
                                                                                
                                                                                
                                          
     SELECT parse_url('http://example.com?foo=bar', 'FILE');                    
                                                                                
                                          
     -- Spark: "?foo=bar"    Comet: "/?foo=bar"
                                                                                
                                                                                
                                          
     SELECT parse_url('http://example.com#fragment', 'FILE');                   
                                                                                
                                          
     -- Spark: ""    Comet: "/"
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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