[KYUUBI #4367] Support Flink 1.17#4368
Conversation
|
Can you list here the breaking changes for the adaption for 1.17 and impacts for other versions? |
|
Note: The CI would NOT be successful because there are no flink 1.17 binaries on the apache site yet, plus I removed support for flink 1.16 or below temporarily. I will fix it when the flink 1.17 binaries are ready. |
Flink 1.17 refactors the SQL client module, adding a new module called Flink SQL gateway. Many classes Kyuubi relies on are refactored or relocated. For example, WRT Flink 1.16 or below, surely I want to keep the support for at least 3 Flink minor versions, so I'm thinking of adding a new Flink engine module just for 1.17 or above if the community agrees. |
Good to have a new profile and it job for flink 1.7. And we could test it in nighty workflows before it's released like we do to spark. The versions of flink supported by kyuubi with this pr should be also clarified and discussed. |
### _Why are the changes needed?_ As discussed before, Kyuubi is going to support the latest 3 Flink versions, and to reduce the complexity of supporting Flink 1.17 #4368, we are going to remove support Flink 1.14 first. ### _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 - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4588 from pan3793/rm-flink-1.14. Closes #4387 97d2633 [Cheng Pan] Remove support for Flink 1.14 Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
Codecov Report
@@ Coverage Diff @@
## master #4368 +/- ##
============================================
+ Coverage 57.68% 58.04% +0.36%
Complexity 13 13
============================================
Files 579 580 +1
Lines 32012 32235 +223
Branches 4275 4305 +30
============================================
+ Hits 18465 18712 +247
+ Misses 11784 11727 -57
- Partials 1763 1796 +33
... and 29 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
...kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/FlinkEngineUtils.scala
Outdated
Show resolved
Hide resolved
...kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/FlinkEngineUtils.scala
Outdated
Show resolved
Hide resolved
...kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/FlinkEngineUtils.scala
Outdated
Show resolved
Hide resolved
...link-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/session/FlinkSessionImpl.scala
Outdated
Show resolved
Hide resolved
|
Thanks @link3280, this approach looks good to me, even we must drop Flink 1.15 |
...kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/FlinkEngineUtils.scala
Outdated
Show resolved
Hide resolved
...kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/FlinkEngineUtils.scala
Outdated
Show resolved
Hide resolved
...ink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/delegation/FlinkResultSet.scala
Outdated
Show resolved
Hide resolved
...ql-engine/src/main/scala/org/apache/kyuubi/engine/flink/delegation/FlinkSessionManager.scala
Outdated
Show resolved
Hide resolved
…uubi/engine/flink/FlinkEngineUtils.scala Co-authored-by: Cheng Pan <pan3793@gmail.com>
|
Please kindly rerun the fail job @pan3793 |
|
Thanks for the great work, merged to master for 1.8 |
Why are the changes needed?
Support Flink 1.17 and Flink SQL gateway.
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