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

[KYUUBI #5877][FOLLOWUP] Catch all exception when dump the result to json and fix typo #6039

Closed
wants to merge 1 commit into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Feb 2, 2024

🔍 Description

Issue References 🔗

Fix typo in execute_python and catch all the exceptions when dumps the object to json.
This pull request fixes #

Describe Your Solution 🔧

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Types of changes 🔖

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪

Behavior Without This Pull Request ⚰️

Behavior With This Pull Request 🎉

Related Unit Tests


Checklist 📝

Be nice. Be informative.

@turboFei turboFei changed the title [PYTHON] Catch all exception when dump the result to json [KYUUBI #5887][FOLLOWUP] Catch all exception when dump the result to json and fix typo Feb 2, 2024
@turboFei turboFei self-assigned this Feb 2, 2024
@turboFei turboFei added this to the v1.9.0 milestone Feb 2, 2024
@turboFei turboFei requested review from pan3793 and cfmcgrady February 2, 2024 19:35
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4bd259a) 61.18% compared to head (b675299) 61.07%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6039      +/-   ##
============================================
- Coverage     61.18%   61.07%   -0.11%     
  Complexity       23       23              
============================================
  Files           623      623              
  Lines         37145    37145              
  Branches       5033     5033              
============================================
- Hits          22726    22686      -40     
- Misses        11979    12006      +27     
- Partials       2440     2453      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@turboFei turboFei closed this in 2813d9d Feb 4, 2024
@turboFei
Copy link
Member Author

turboFei commented Feb 4, 2024

thanks, merged to master

@turboFei turboFei deleted the python_exit branch February 4, 2024 02:07
@pan3793
Copy link
Member

pan3793 commented Feb 4, 2024

The ISSUE NUMBER in title seems wrong?

@turboFei turboFei changed the title [KYUUBI #5887][FOLLOWUP] Catch all exception when dump the result to json and fix typo [KYUUBI #5877][FOLLOWUP] Catch all exception when dump the result to json and fix typo Feb 4, 2024
@turboFei
Copy link
Member Author

turboFei commented Feb 4, 2024

The ISSUE NUMBER in title seems wrong?

sorry, it is #5877

zhaohehuhu pushed a commit to zhaohehuhu/incubator-kyuubi that referenced this pull request Feb 5, 2024
…lt to json and fix typo

# 🔍 Description
## Issue References 🔗

Fix typo in execute_python and catch all the exceptions when dumps the object to json.
This pull request fixes #

## Describe Your Solution 🔧

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklist 📝

- [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes apache#6039 from turboFei/python_exit.

Closes apache#5887

b675299 [Fei Wang] catch all exception

Authored-by: Fei Wang <[email protected]>
Signed-off-by: Fei Wang <[email protected]>
zhaohehuhu pushed a commit to zhaohehuhu/incubator-kyuubi that referenced this pull request Mar 21, 2024
…lt to json and fix typo

# 🔍 Description
## Issue References 🔗

Fix typo in execute_python and catch all the exceptions when dumps the object to json.
This pull request fixes #

## Describe Your Solution 🔧

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklist 📝

- [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes apache#6039 from turboFei/python_exit.

Closes apache#5887

b675299 [Fei Wang] catch all exception

Authored-by: Fei Wang <[email protected]>
Signed-off-by: Fei Wang <[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