apache / amoro

Apache Amoro (incubating) is a Lakehouse management system built on open data lake formats.
https://amoro.apache.org/
Apache License 2.0
762 stars 267 forks source link

[AMORO-2862] fix bug: A null pointer error occurs when using S3 as Storage when using the kyuubi terminal. #2863

Closed upczsh closed 1 month ago

upczsh commented 1 month ago

Why are the changes needed?

Close #2862.

Brief change log

How was this patch tested?

after repair: image

Documentation

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 32.76%. Comparing base (a2753b6) to head (9fa709b). Report is 14 commits behind head on master.

Files Patch % Lines
.../terminal/kyuubi/KyuubiTerminalSessionFactory.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2863 +/- ## ============================================ - Coverage 35.95% 32.76% -3.20% - Complexity 383 3820 +3437 ============================================ Files 45 558 +513 Lines 4700 46295 +41595 Branches 513 6175 +5662 ============================================ + Hits 1690 15169 +13479 - Misses 2842 29931 +27089 - Partials 168 1195 +1027 ``` | [Flag](https://app.codecov.io/gh/apache/amoro/pull/2863/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [core](https://app.codecov.io/gh/apache/amoro/pull/2863/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `32.76% <0.00%> (?)` | | | [trino](https://app.codecov.io/gh/apache/amoro/pull/2863/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.