nrg4878 commented on code in PR #5701:
URL: https://github.com/apache/hive/pull/5701#discussion_r2279253455


##########
beeline/src/java/org/apache/hive/beeline/BeeLine.java:
##########
@@ -900,6 +900,8 @@ private boolean connectUsingArgs(BeelineParser 
beelineParser, CommandLine cl) {
     getOpts().setScriptFile(cl.getOptionValue("f"));
 
     if (url != null) {
+      //remove white spaces in the URL in case there is any, like in 
"jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST=..."

Review Comment:
   @mszurap JDBC URLs can also contain passwords where it is legal to have 
spaces in passwords. It would fail in such cases if we remove all spaces in the 
URL.
   Shouldnt we argue that user should not use spaces when not needed?



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to