-
Notifications
You must be signed in to change notification settings - Fork 57
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
SNOW-918949: Add row index information to all exceptions #590
Conversation
This reverts commit fdedb23.
…gest-java into tzhang-si-fixes
@@ -210,8 +210,8 @@ private float addRow( | |||
throw new SFException( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, is it worth having a list of longs that we store in a SFException
that can be accessed via something like getRowIndexes
? This will reduce the need to parse an error message which is error prone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already doing that with CONTINUE, this is for ABORT where we thrown an exception directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. small nit: i think insertRowsCurrIndex
is more descriptive for the exception and log parsing than Row Index
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
+1 |
I updated everything to rowIndex, I think it's better than insertRowsCurrIndex |
Add row index information to all exceptions, also unify the format so it can be easily parsed