Netflix / iceberg

Iceberg is a table format for large, slow-moving tabular data
Apache License 2.0
472 stars 59 forks source link

Remove Closeable from TableScan interface. #87

Closed rdblue closed 5 years ago

rdblue commented 5 years ago

TableScan should be immutable so it can be shared between threads. If TableScan is Closeable, then it can't be shared because resources in use from one thread can be closed by another when the scan is closed.

Instead, the iterables created by a scan should be closeable.