Skip to content

[KYUUBI #4387] Remove support for Flink 1.14#4588

Closed
pan3793 wants to merge 1 commit intoapache:masterfrom
pan3793:rm-flink-1.14
Closed

[KYUUBI #4387] Remove support for Flink 1.14#4588
pan3793 wants to merge 1 commit intoapache:masterfrom
pan3793:rm-flink-1.14

Conversation

@pan3793
Copy link
Member

@pan3793 pan3793 commented Mar 23, 2023

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

  • Run test locally before make a pull request

@pan3793 pan3793 marked this pull request as ready for review March 23, 2023 13:42
@pan3793 pan3793 requested a review from yanghua March 23, 2023 13:42
@github-actions github-actions bot added kind:build kind:infra license, community building, project builds, asf infra related, etc. module:flink module:integration-tests labels Mar 23, 2023
@pan3793
Copy link
Member Author

pan3793 commented Mar 23, 2023

cc @link3280

@pan3793 pan3793 self-assigned this Mar 24, 2023
@pan3793 pan3793 added this to the v1.8.0 milestone Mar 24, 2023
@pan3793 pan3793 changed the title Remove support for Flink 1.14 [KYUUBI #4387] Remove support for Flink 1.14 Mar 24, 2023
Copy link
Member

@SteNicholas SteNicholas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for @pan3793 update.

@pan3793 pan3793 closed this in 17e1d62 Mar 24, 2023
@pan3793
Copy link
Member Author

pan3793 commented Mar 24, 2023

Thanks, merged to master

bowenliang123 added a commit that referenced this pull request Aug 31, 2023
…QL engine

### _Why are the changes needed?_

- Remove the provided dependency `flink-table-planner_${scala.binary.version}` which provides a legacy table planner API on Scala, but is never used in Kyuubi's source code or in runtime directly.
   - `** The legacy planner is deprecated and will be dropped in Flink 1.14.**` according to [Flink 1.13's doc of Legacy Planner](https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/dev/table/legacy_planner/)
   - Kyuubi has dropped support for Flink 1.14 and before in #4588
- Remove the unused provided dependency `flink-sql-parser`
- All tests on Scala 2.12 work fine without them, as `flink-table-runtime` dependency provides enough Java API for usage.

### _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 #5222 from bowenliang123/flink-remove-planner.

Closes #5222

716ec06 [liangbowen] remove flink-sql-parser dependency
0922ba5 [liangbowen] Remove unnecessary dependency flink-table-planner

Authored-by: liangbowen <liangbowen@gf.com.cn>
Signed-off-by: Bowen Liang <liangbowen@gf.com.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:build kind:infra license, community building, project builds, asf infra related, etc. module:flink module:integration-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants