raulcd commented on code in PR #47432: URL: https://github.com/apache/arrow/pull/47432#discussion_r2307576998
########## python/pyarrow/tests/test_flight.py: ########## @@ -2090,6 +2109,8 @@ def test_doexchange_put(): assert chunk.data is None expected_buf = str(len(batches)).encode("utf-8") assert chunk.app_metadata == expected_buf + # Metadata only message is not counted as an ipc data message + assert reader.stats.num_messages == 0 Review Comment: We would have to count them manually as we do for the WriteStats on the writer because the metadata messages are not accounted on the batch_reader, see this commit: https://github.com/apache/arrow/pull/47432/commits/2f43d2d44282e6f458b24fe88efaa51f67f6eb06 @lidavidm what do you think? -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org