-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] support kyuubi as a datasource #3375
base: dev
Are you sure you want to change the base?
Conversation
确实是个好功能,十分期待!有个疑问是怎么做不同engine的语法校验(像sparksql和flilnksql),而且不同engine的查询和写入操作如何区分出来(后续得用于executequery和executeupdate) |
</dependency> | ||
<dependency> | ||
<groupId>org.apache.hive</groupId> | ||
<artifactId>hive-jdbc</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kyuubi has its own JDBC driver which is derived from Hive's one, it has zero-deps and fixes many Hive bugs.
public interface KyuubiConstant { | ||
|
||
/** 查询所有database */ | ||
String QUERY_ALL_DATABASE = " show databases"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't have a deep look at where it is used, but generally, you should rely on standard JDBC API instead of SQL dialect to retrieve such metadata.
这个在 dinky 侧普通数据源任务目前做不了语法校验 |
Purpose of the pull request
Using Kyuubi as the data source and Dinky in a role similar to Hue, it becomes very convenient to query and develop using various big data engines.
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: