Skip to content
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

Flink SQL Engine - GetColumns Operation #3519

Closed
wants to merge 6 commits into from

Conversation

cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Sep 19, 2022

Why are the changes needed?

#1322
#2129

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

@cxzl25
Copy link
Contributor Author

cxzl25 commented Sep 19, 2022

Fix

image

@cxzl25 cxzl25 marked this pull request as draft September 19, 2022 10:36
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2022

Codecov Report

Merging #3519 (efdf1b9) into master (f8892f6) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3519      +/-   ##
============================================
- Coverage     51.72%   51.70%   -0.02%     
  Complexity       13       13              
============================================
  Files           482      482              
  Lines         26933    26950      +17     
  Branches       3760     3761       +1     
============================================
+ Hits          13930    13934       +4     
- Misses        11652    11657       +5     
- Partials       1351     1359       +8     
Impacted Files Coverage Δ
.../kyuubi/server/mysql/constant/MySQLErrorCode.scala 13.84% <0.00%> (-6.16%) ⬇️
...ache/kyuubi/server/mysql/MySQLCommandHandler.scala 75.00% <0.00%> (-4.55%) ⬇️
...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala 78.00% <0.00%> (-4.00%) ⬇️
...ache/kyuubi/server/mysql/MySQLGenericPackets.scala 76.59% <0.00%> (-2.13%) ⬇️
...pache/kyuubi/engine/YarnApplicationOperation.scala 62.96% <0.00%> (-1.86%) ⬇️
...org/apache/kyuubi/operation/ExecuteStatement.scala 79.16% <0.00%> (-1.36%) ⬇️
...mon/src/main/scala/org/apache/kyuubi/Logging.scala 52.63% <0.00%> (-1.32%) ⬇️
...yuubi/server/metadata/jdbc/JDBCMetadataStore.scala 89.27% <0.00%> (-0.70%) ⬇️
...org/apache/kyuubi/operation/log/OperationLog.scala 91.11% <0.00%> (-0.66%) ⬇️
...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala 80.74% <0.00%> (-0.63%) ⬇️
... and 5 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cxzl25 cxzl25 self-assigned this Sep 20, 2022
@cxzl25 cxzl25 marked this pull request as ready for review September 20, 2022 04:54
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.

Thanks for @cxzl25 contribution. I have left the minor comment for this pull request. PTAL.

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. @pan3793 help to merge this pull request.

@pan3793 pan3793 added this to the v1.6.1 milestone Sep 28, 2022
@pan3793
Copy link
Member

pan3793 commented Sep 28, 2022

Thanks, merging to master/1.6

@pan3793 pan3793 closed this in 8419b7b Sep 28, 2022
pan3793 pushed a commit that referenced this pull request Sep 28, 2022
### _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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants