-
Notifications
You must be signed in to change notification settings - Fork 938
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 GetTables operation in Flink #3498
Conversation
...ubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/operation/GetTables.scala
Outdated
Show resolved
Hide resolved
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.
Thanks for the investigation and fixing, LGTM, only minor comments
Codecov Report
@@ Coverage Diff @@
## master #3498 +/- ##
============================================
- Coverage 51.65% 51.64% -0.02%
Complexity 13 13
============================================
Files 482 482
Lines 26933 26933
Branches 3760 3760
============================================
- Hits 13913 13910 -3
- Misses 11663 11664 +1
- Partials 1357 1359 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thanks, merging to master/1.6 |
### _Why are the changes needed?_ #1646 In Flink, the schema returned by `GetTables` is incorrect, causing some database management tools to not see the table. ### _How was this patch tested?_ - [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3498 from cxzl25/flink_get_tables. Closes #3498 6e51487 [sychen] compile cba0613 [sychen] toArray 37bd6aa [sychen] style 93fb80c [sychen] GetTables Authored-by: sychen <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit dce40c3) Signed-off-by: Cheng Pan <[email protected]>
Why are the changes needed?
#1646
In Flink, the schema returned by
GetTables
is incorrect, causing some database management tools to not see the table.How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request