KazydubB commented on issue #1455: DRILL-6724: Convert IndexOutOfBounds 
exception to UserException with …
URL: https://github.com/apache/drill/pull/1455#issuecomment-418324098
 
 
   @paul-rogers, source of IOBE here is when allocating value vector buffers or 
reading records from input. Currently, every Exception (except 
OutOfMemoryException and UserException) will be wrapped into UserException with 
ErrorType INTERNAL_ERROR (and will remain being such after FragmentExecutor 
handling).
   Purpose of this improvement is to enhance error messages to provide more 
useful information to users, while original cause is preserved. Provided 
context may be useful for users as it may provide some ways of resolving the 
issue or to make a workaround while the issue is being investigated etc.
   You're right that IOBE indicates a program error so I've made changes to 
wrap IOBE into UserException of type INTERNAL_ERROR and not DATA_READ_ERROR (as 
it was before in the PR).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to