Skip to content

[WIP] Improve finer granularity of error classification in presto-native#24980

Draft
anlowee wants to merge 2 commits intoprestodb:masterfrom
anlowee:xwei/presto-24959
Draft

[WIP] Improve finer granularity of error classification in presto-native#24980
anlowee wants to merge 2 commits intoprestodb:masterfrom
anlowee:xwei/presto-24959

Conversation

@anlowee
Copy link
Copy Markdown

@anlowee anlowee commented Apr 24, 2025

Description

Potential implementation for #24959

Motivation and Context

Impact

For the exceptions thrown within checkStatus function of GcsFileSystem.cpp it can be classified to the corresponding HIVE errors like HIVE_FILE_NOT_FOUND and HIVE_CANNOT_OPEN_SPLIT, which are EXTERNAL error. Currently there is no classification for them so they are just GENERIC_INTERNAL_ERROR which is an INTERNAL_ERROR.

Test Plan

Added a unit test.

Contributor checklist

  • Please make sure your submission complies with our contributing guide, in particular code style and commit standards.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== RELEASE NOTES ==

General Changes
* ... 
* ... 

Hive Connector Changes
* ... 
* ... 

If release note is NOT required, use:

== NO RELEASE NOTE ==

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 24, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

@anlowee anlowee force-pushed the xwei/presto-24959 branch from 8383090 to 5f6e673 Compare April 24, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant