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

[PLUGIN-1832] Error Management Snowflake Source and Sink, fix sonar issues, and added new Validation and fix bugs for maximum split size and NPE issue handled #43

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

Conversation

Amit-CloudSufi
Copy link

@psainics psainics added the build build label Dec 18, 2024
String errorMessageFormat = "Error occurred in the phase: '%s'. Error message: %s";
return ErrorUtils.getProgramFailureException(new ErrorCategory(ErrorCategory.ErrorCategoryEnum.PLUGIN),
errorMessage,
String.format(errorMessageFormat, errorContext.getPhase(), errorMessage), ErrorType.SYSTEM, false, e);
Copy link
Member

Choose a reason for hiding this comment

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

can you please provide rationale as comment, why all these exceptions are considered as SYSTEM error?

Copy link
Author

Choose a reason for hiding this comment

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

updated

Copy link
Member

@itsankit-google itsankit-google Dec 18, 2024

Choose a reason for hiding this comment

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

I did not ask to convert them to USER, question was to provide why these are marked as SYSTEM errors?

Copy link
Contributor

Choose a reason for hiding this comment

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

URISyntaxException is not being thrown in this plugin, i think we can remove this case.
For classification all error due to user input can be classified as USER

…for maximum split size and NPE issue handled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants