-
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
[Umbrella][KPIP-2] Support FlinkSQL Engine #1322
Comments
I can’t wait to see this happen. |
great work |
Not yet. The current implementation should be considered as a PoC version, and we do find some disadvantages of this approach, the next step is to investigate Flink |
fine, there are still many operations that did not implement @SteNicholas . Will file more subtask issues. |
@yanghua Thanks for your great work! The proposal seems to be sort of lagged behind. It would be great if we can update it as well. I'll be happy to take some tasks if possible. |
You are right. The design doc does not match the implementation. Will update it later. |
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> This is a sub-task of KPIP-2 #1322. ### _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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1843 from link3280/improvemnt/KYUUBI-1839. Closes #1839 b870427 [Paul Lin] [KYUUBI #1839] Improve docs and comments a187a53 [Paul Lin] [KYUUBI #1839] Improve docs and comments 7c36c5c [Paul Lin] [KYUUBI #1839] Remove unused imports 48d611d [Paul Lin] [KYUUBI #1839] Rewrite ResultSetUtil using scala 92a2e3b [Paul Lin] [KYUUBI #1839] Rename OperationUtil to ResultSetUtil 811d3a7 [Paul Lin] [KYUUBI #1839] Minor refactor OperationUtil Authored-by: Paul Lin <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> Query results would be cached in memory, and we should clean it up when all rows are fetched. ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> This is a sub-task of KPIP-2 #1322. ### _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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1859 from link3280/feature/KYUUBI-1838. Closes #1838 3cef076 [Paul Lin] [KYUUBI #1838] Improve logging message syntax c6253de [Paul Lin] [KYUUBI #1838] Log cleanup exceptions e0b1866 [Paul Lin] [KYUUBI #1838] Clean up query results after query operations finish Authored-by: Paul Lin <[email protected]> Signed-off-by: yanghua <[email protected]>
### _Why are the changes needed?_ Currently, Flink engine would pull all result rows into memory before returning it to the client. This would be problematic for large result sets and infinite result sets. This is a sub-task of KPIP-2 #1322. ### _How was this patch tested?_ - [x] 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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1938 from link3280/feature/FLINK-1883. Closes #1883 80020ce [Paul Lin] Update externals/kyuubi-flink-sql-engine/src/test/scala/org/apache/kyuubi/engine/flink/operation/FlinkOperationSuite.scala 1b95822 [Paul Lin] [KYUUBI #1883] Avoid allocating too much buffer space 5be7535 [Paul Lin] [KYUUBI #1883] Support max result rows for Flink queries Authored-by: Paul Lin <[email protected]> Signed-off-by: Kent Yao <[email protected]>
retargeting improvement PR to v1.6 and collection to another ticket #2100 to track |
### _Why are the changes needed?_ Adding and removing jars for a session at runtime is crucial for using UDFs and connectors, which we should support. This is a sub-task of KPIP-2 #1322. ### _How was this patch tested?_ - [x] 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.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2118 from link3280/KYUUBI-2002. Closes #2118 fd3a4b4 [Paul Lin] [KYUUBI #2002] Support show jars operations in PlanOnlyStatement 56cdd12 [Paul Lin] [KYUUBI #2002] Support show jars operations fbdb009 [Paul Lin] [KYUUBI #2002] Support add/remove jar operations Authored-by: Paul Lin <[email protected]> Signed-off-by: Kent Yao <[email protected]>
Thanks to all contributors who participated, I'm going to close this ticket, and please go ahead in #2100 |
### _Why are the changes needed?_ #1322 #2129 ### _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 #3519 from cxzl25/flink_get_columns. Closes #3519 ab81776 [sychen] add column size efdf1b9 [sychen] indent 630e907 [sychen] refactor 48a79d5 [sychen] add ut 69763bd [sychen] GetColumns 8e5e6c5 [sychen] GetColumns Authored-by: sychen <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
### _Why are the changes needed?_ #1322 #2129 ### _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 #3519 from cxzl25/flink_get_columns. Closes #3519 ab81776 [sychen] add column size efdf1b9 [sychen] indent 630e907 [sychen] refactor 48a79d5 [sychen] add ut 69763bd [sychen] GetColumns 8e5e6c5 [sychen] GetColumns Authored-by: sychen <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 8419b7b) Signed-off-by: Cheng Pan <[email protected]>
Code of Conduct
Search before asking
Describe the proposal
Task list
FLINK_HOME
in load-kyuubi-env script #1774 @yanghuaFLINK_ENGINE_HOME
in load-kyuubi-env script #1787 @yanghuaPlanOnlyStatement
operation like Spark SQL engine #1867 @SteNicholasOperationModes
#1919 @SteNicholasConstants
#1926 @yanghuaAre you willing to submit PR?
The text was updated successfully, but these errors were encountered: