KazydubB commented on a change in pull request #1455: DRILL-6724: Convert IndexOutOfBounds
exception to UserException with …
URL: https://github.com/apache/drill/pull/1455#discussion_r214858699
##########
File path: exec/java-exec/src/main/java/org/apache/parquet/hadoop/ColumnChunkIncReadStore.java
##########
@@ -269,4 +270,10 @@ public PageReader getPageReader(ColumnDescriptor descriptor) {
public long getRowCount() {
return rowCount;
}
+
+ public UserException.Builder getExceptionWithContext(Throwable cause, String message) {
+ return UserException.dataReadError(cause)
Review comment:
Unfortunetely, this DrillRuntimeException is created with data from inner class (ColumnChunkIncPageReader)
and there is no way to extract it at the moment.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
|