TechWizard9999 commented on code in PR #340:
URL: https://github.com/apache/datafusion-spark/pull/340#discussion_r4595421727


##########
crates/sqllogictest/test_files/url/parse_url.slt:
##########
@@ -360,8 +360,11 @@ set datafusion.execution.enable_ansi_mode = true;
 query error DataFusion error: Execution error: The url is invalid: inva 
lid://spark\.apache\.org/path\?query=1\. Use `try_parse_url` to tolerate 
invalid URL and return NULL instead\. SQLSTATE: 22P02
 SELECT parse_url('inva lid://spark.apache.org/path?query=1', 'QUERY');
 
-query error DataFusion error: Execution error: InvalidPort
-SELECT parse_url('http://spark.apache.org:99999/path', 'HOST');
+query error
+SELECT parse_url('http://[::1/path', 'HOST');
+----
+DataFusion error: Execution error: The url is invalid: http://[::1/path. Use 
`try_parse_url` to tolerate invalid URL and return NULL instead. SQLSTATE: 22P02
+
 

Review Comment:
   Sure okay will follow that 
   Thanks!!



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