apache/kyuubi

[Bug] Use kyuubi beeline connect kyuubi server error if url contains '--' string

Opened this issue · 4 comments

Code of Conduct

Search before asking

  • I have searched in the issues 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.

image

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.

@zcx513566 This problem is caused by #4972, I suppose it should affects 1.7.2+, 1.8.0+, 1.9.0+ and master, and aslo Hive 4.0+, could please confirm that?

Sorry, e26b57a was reverted, the issue should be re-evaluated.

I confirmed this also affects Apache Hive BeeLine 4.0.0, let's fix it upstream first.

@zcx513566 This problem is caused by #4972, I suppose it should affects 1.7.2+, 1.8.0+, 1.9.0+ and master, and aslo Hive 4.0+, could please confirm that?

It affects 1.7.2+, 1.8.0+, 1.9.0+ and master, and aslo hive 4.0+。