pan3793 commented on PR #4838: URL: https://github.com/apache/zeppelin/pull/4838#issuecomment-2361501953
> do we really need to remove white spaces here? I have the same question too. Is there any potential risk if we have encoded while spaces in the JDBC URL? In [Apache Kyuubi cases](https://kyuubi.readthedocs.io/en/master/client/jdbc/kyuubi_jdbc.html), it allows the user to pass the `spark.app.name` as part of JDBC URL, so the encoded URL might be like ``` jdbc:kyuubi://host:port/db;#spark.app.name=Hello%20World;spark.driver.memory=4g ``` For example, ``` $ bin/beeline -u 'jdbc:hive2://localhost:10009/#spark.app.name=Hello%20World' ``` ``` 0: jdbc:hive2://localhost:10009/#spark.app.na> set spark.app.name; 24/09/20 00:30:25 INFO ExecuteStatement: Spark application name: Hello World application ID: local-1726763393107 application web UI: http://192.168.8.150:53761 master: local[*] deploy mode: client version: 3.3.1 Start time: 2024-09-20T00:29:52.154 User: anonymous ... 2024-09-20 00:30:26.123 INFO org.apache.kyuubi.operation.ExecuteStatement: Processing anonymous's query[a8771241-5233-44fe-8c69-ad94a8f0217d]: RUNNING_STATE -> FINISHED_STATE, time taken: 0.128 seconds +-----------------+--------------+ | key | value | +-----------------+--------------+ | spark.app.name | Hello World | +-----------------+--------------+ 1 row selected (0.401 seconds) ``` -- 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: reviews-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org