Fokko commented on issue #7013: URL: https://github.com/apache/iceberg/issues/7013#issuecomment-1477706063
We probably want to include the changes in https://github.com/apache/iceberg/pull/7033/files. The `pq.read_table()` does not support limiting the number of rows being read. If we include those changes, we can do `ds.Scanner.from_fragment(...).head(num_rows=limit)` instead of `ds.Scanner.from_fragment(...).to_table()` when a limit is set. When we limit the number of rows being read we'll also reduce the time spent and the memory pressure. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
