Skip to content

[KYUUBI #4412][FOLLOWUP] Fallback to new engine session handle for UT#4414

Closed
turboFei wants to merge 4 commits intoapache:masterfrom
turboFei:get_or_else
Closed

[KYUUBI #4412][FOLLOWUP] Fallback to new engine session handle for UT#4414
turboFei wants to merge 4 commits intoapache:masterfrom
turboFei:get_or_else

Conversation

@turboFei
Copy link
Member

Why are the changes needed?

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

@turboFei turboFei changed the title [KYUUBI #4412][FOLLOWUP] Fix kyuubi.session.handle not found issue for UT [KYUUBI #4412][FOLLOWUP] Fallback to new engine session handle for UT Feb 25, 2023
@turboFei turboFei self-assigned this Feb 25, 2023
@turboFei turboFei added this to the v1.7.0 milestone Feb 25, 2023
@turboFei turboFei requested a review from pan3793 February 25, 2023 07:36
@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2023

Codecov Report

Merging #4414 (e7d45ef) into master (4277710) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #4414      +/-   ##
============================================
- Coverage     53.81%   53.76%   -0.05%     
  Complexity       13       13              
============================================
  Files           564      564              
  Lines         30949    30955       +6     
  Branches       4170     4170              
============================================
- Hits          16656    16644      -12     
- Misses        12737    12753      +16     
- Partials       1556     1558       +2     
Impacted Files Coverage Δ
.../org/apache/kyuubi/config/KyuubiReservedKeys.scala 0.00% <ø> (ø)
.../engine/spark/session/SparkSQLSessionManager.scala 79.01% <100.00%> (+0.26%) ⬆️
...kyuubi/engine/spark/session/SparkSessionImpl.scala 65.11% <100.00%> (+1.70%) ⬆️
.../apache/kyuubi/client/KyuubiSyncThriftClient.scala 89.49% <100.00%> (+0.13%) ⬆️
.../org/apache/kyuubi/session/KyuubiSessionImpl.scala 75.67% <100.00%> (ø)
.../kyuubi/server/mysql/constant/MySQLErrorCode.scala 13.84% <0.00%> (-6.16%) ⬇️
...uubi/engine/spark/events/SparkOperationEvent.scala 88.88% <0.00%> (-5.56%) ⬇️
...ache/kyuubi/server/mysql/MySQLCommandHandler.scala 77.77% <0.00%> (-4.05%) ⬇️
...g/apache/kyuubi/operation/BatchJobSubmission.scala 75.27% <0.00%> (-2.20%) ⬇️
...ache/kyuubi/server/mysql/MySQLGenericPackets.scala 76.59% <0.00%> (-2.13%) ⬇️
... and 5 more

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

@turboFei
Copy link
Member Author

@pan3793 fixed

@turboFei
Copy link
Member Author

merging to master, because it is a minor pr and block the main branch.

@turboFei turboFei closed this in 787f86c Feb 25, 2023
turboFei added a commit that referenced this pull request Feb 25, 2023
### _Why are the changes needed?_

### _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](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4414 from turboFei/get_or_else.

Closes #4412

e7d45ef [fwang12] refactor
f8583ec [fwang12] use different handle for alive probe
33a776c [fwang12] launch sync
967ae41 [fwang12] [KYUUBI #4412][FOLLOWUP] Fallback to new engine session handle for UT

Authored-by: fwang12 <fwang12@ebay.com>
Signed-off-by: fwang12 <fwang12@ebay.com>
(cherry picked from commit 787f86c)
Signed-off-by: fwang12 <fwang12@ebay.com>
@turboFei turboFei deleted the get_or_else branch February 25, 2023 14:05
@pan3793
Copy link
Member

pan3793 commented Feb 26, 2023

Thanks, late LGTM

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.

3 participants