aravi5 opened a new pull request #1595: DRILL-6918: Skip ensureAtLeastOneField 
when there are no records
URL: https://github.com/apache/drill/pull/1595
 
 
   If none of the project / filter columns, exist in the records, 
`ensureAtLeastOneField` (or the Scan operator) adds at least one field as 
nullable integer (or nullable varchar if `allTextmode` is enabled).
   
   The downstream Filter operator would then go on to fail with 
`NumberFormatException` because it tries to convert empty fields to integers.
   
   Since `ensureAtLeastOneField` is called after reading all the messages in a 
batch, it can be skipped if the batch is empty.

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