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

Error Management for BigQuery Action plugin #1496

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Amit-CloudSufi
Copy link

No description provided.

throw new RuntimeException(queryJob.getStatus().getError().getMessage());
String error = queryJob.getStatus().getError().getMessage();
throw ErrorUtils.getProgramFailureException(new ErrorCategory(ErrorCategory.ErrorCategoryEnum.PLUGIN),
error, error, ErrorType.USER, false, null);
Copy link
Contributor

@psainics psainics Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Job can fail on BigQuery due to many reasons like permission issues as well right? So, we need to decide based on error codes & error reason cannot directly say that it is a user error.

unknown is better.

@Amit-CloudSufi Amit-CloudSufi force-pushed the BigQueryActionPluginErrorMang branch from 7c6135e to e8b7cd6 Compare January 17, 2025 07:53
@Amit-CloudSufi Amit-CloudSufi marked this pull request as ready for review January 17, 2025 12:52
@psainics psainics added the build Trigger unit test build label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Trigger unit test build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants