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.
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.