-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Fix-15668][Api]Fix data quality cannot get database/columns with kyuubi #15671
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #15671 +/- ##
============================================
- Coverage 38.97% 38.96% -0.02%
Complexity 4839 4839
============================================
Files 1316 1316
Lines 45000 45015 +15
Branches 4817 4817
============================================
Hits 17539 17539
- Misses 25565 25580 +15
Partials 1896 1896 ☔ View full report in Codecov by Sentry. |
rs = metaData.getColumns( | ||
getCatalog(dataSource.getType(), database), | ||
getDbSchemaPattern(dataSource.getType(), database, schema, connectionParam), | ||
tableName, "%"); |
Check failure
Code scanning / CodeQL
Query built from user-controlled sources High
user-provided value
@@ -88,7 +88,7 @@ public String getDescp() { | |||
} | |||
|
|||
public boolean isHive() { | |||
return this == DbType.HIVE; | |||
return this == DbType.HIVE || this == DbType.KYUUBI; |
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.
May I ask why KYUUBI is also true in isHive()
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 use spark engine to query hive table by default, using HiveReader is better.
Quality Gate failedFailed conditions |
This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs. |
This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request. |
Purpose of the pull request
resolves #15668
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:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md