[KYUUBI #5405] [FLINK] Support Flink 1.18
### _Why are the changes needed?_ Resolve: #5405 Support the Flink 1.18 ### _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/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ No Closes #5465 from YesOrNo828/flink-1.18. Closes #5405 a0010ca14 [Xianxun Ye] [KYUUBI #5405] [FLINK] Remove flink1.18 rc repo 2a4ae365c [Xianxun Ye] Update .github/workflows/master.yml d4d458dc7 [Xianxun Ye] [KYUUBI #5405] [FLINK] Update the flink1.18-rc3 repo 99172e3da [Xianxun Ye] [KYUUBI #5405] [FLINK] Using the staging repo during the RC stage 4c0cf887b [Xianxun Ye] [KYUUBI #5405] [FLINK] Using the staging repo during the RC stage c74f5c31b [Xianxun Ye] [KYUUBI #5405] [FLINK] fixed Pan's comments. 1933ebadd [Xianxun Ye] [KYUUBI #5405] [FLINK] Support Flink 1.18 Authored-by: Xianxun Ye <yesorno828423@gmail.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
75428bb979
commit
3646ae08bd
5
.github/workflows/master.yml
vendored
5
.github/workflows/master.yml
vendored
@ -183,6 +183,7 @@ jobs:
|
||||
flink:
|
||||
- '1.16'
|
||||
- '1.17'
|
||||
- '1.18'
|
||||
flink-archive: [ "" ]
|
||||
comment: [ "normal" ]
|
||||
include:
|
||||
@ -190,6 +191,10 @@ jobs:
|
||||
flink: '1.17'
|
||||
flink-archive: '-Dflink.archive.mirror=https://archive.apache.org/dist/flink/flink-1.16.1 -Dflink.archive.name=flink-1.16.1-bin-scala_2.12.tgz'
|
||||
comment: 'verify-on-flink-1.16-binary'
|
||||
- java: 8
|
||||
flink: '1.17'
|
||||
flink-archive: '-Dflink.archive.mirror=https://archive.apache.org/dist/flink/flink-1.18.0 -Dflink.archive.name=flink-1.18.0-bin-scala_2.12.tgz'
|
||||
comment: 'verify-on-flink-1.18-binary'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Tune Runner VM
|
||||
|
||||
@ -48,7 +48,7 @@ object FlinkEngineUtils extends Logging {
|
||||
|
||||
val EMBEDDED_MODE_CLIENT_OPTIONS: Options = getEmbeddedModeClientOptions(new Options)
|
||||
|
||||
private def SUPPORTED_FLINK_VERSIONS = Set("1.16", "1.17").map(SemanticVersion.apply)
|
||||
private def SUPPORTED_FLINK_VERSIONS = Set("1.16", "1.17", "1.18").map(SemanticVersion.apply)
|
||||
|
||||
val FLINK_RUNTIME_VERSION: SemanticVersion = SemanticVersion(EnvironmentInformation.getVersion)
|
||||
|
||||
@ -119,7 +119,7 @@ object FlinkEngineUtils extends Logging {
|
||||
.build()
|
||||
.newInstance(flinkConf, commandLines)
|
||||
.asInstanceOf[DefaultContext]
|
||||
} else if (FLINK_RUNTIME_VERSION === "1.17") {
|
||||
} else if (FLINK_RUNTIME_VERSION >= "1.17") {
|
||||
invokeAs[DefaultContext](
|
||||
classOf[DefaultContext],
|
||||
"load",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user