sachouche opened a new pull request #1360: DRILL-6578: Handle query 
cancellation in Parquet reader
URL: https://github.com/apache/drill/pull/1360
 
 
   Goal -
   - The optimized Parquet reader uses an iterator style to load column data 
   - We need to ensure the code can properly handle query cancellation even in 
the presence of bugs within the hasNext() .. next() calls
   
   Fix Details -
   - Added a check within the hasNext() and next() to detect a thread interrupt
   - If this is the case, these methods will throw a runtime exception and keep 
the thread's interrupted state set
   - This will ensure that any blocking call will get the InterruptedException 
to be thrown 

----------------------------------------------------------------
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