paul-rogers commented on issue #1813: DRILL-7306: Disable schema-only batch for 
new scan framework
URL: https://github.com/apache/drill/pull/1813#issuecomment-506989680
 
 
   Addressed the TestEmptyInputSql failure. The code now recognizes two cases:
   
   1. Empty results: the reader provided a schema, but had no rows. (This is 
the case that failed.)
   2. Null results: the reader provides neither rows nor schema. This is the 
case that was always being followed, even if we have a schema.
   
   Changed the query builder row set code to return an empty row set if the 
output contains only an empty batch and contains a schema. The code continues 
to return no row set if the result is null. (Oddly, Drill will return a batch 
with no rows and no schema if the reader returns no batches at all.)
   
   Will address other issues in separate commits.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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