Tangruilin commented on PR #8947: URL: https://github.com/apache/arrow-datafusion/pull/8947#issuecomment-1905476736
> > > I also believe we should not overfit when propagating empty batches during execution. In `print_batches`, there is a counter for printed rows. Perhaps we can make use of it. > > > > > > could you show me the code. It seems that I can not get counter while printing rows > > https://github.com/apache/arrow-datafusion/blob/827668ab3d4659329ff30e6672f398c934b803be/datafusion-cli/src/print_options.rs#L108 > > We could perhaps insert some logic here, such that if no row has been printed, an empty batch is printed. This is a problem that I can not get column data here. From example: when `select * from (values (1)) where column1 = 0`, I can not know the column name is column1 here. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
