[Bug] Use kyuubi beeline connect kyuubi server error if url contains '--' string
- Dominant language
- Scala
- Stars
- 2.4k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
### Describe the bug
Use kyuubi beeline connect kyuubi server error if url contains '--' string。
for example:
bin/beeline -u "jdbc:hive2://fec0--0-0-c0-122:10009/default;#kyuubi.engine.type=SPARK_SQL;" after -- content removed as comments in kyuubi code args parser stage.
### Affects Version(s)
1.9.0 and above
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
_No response_
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] No. I cannot submit a PR at this time.
Contributor guide
Research direction
Start by reproducing the failure with bin/beeline and the example JDBC URL containing a '--' sequence, then trace the Kyuubi argument-parser stage that removes the remaining URL content as comments. Done means such URLs reach the Kyuubi server intact and the connection succeeds, with a regression test covering the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100