Closed daniel-sanche closed 1 month ago
what makes this more efficient?
what makes this more efficient?
context: b/347322404
read_rows buffers the entire output before returning the resulting list, read_rows_stream streams gives a generator for acting on the results as they arrive
After discussing this offline, I think we will leave as-is
replace read_rows with read_rows_stream, as it is more efficient
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes # 🦕