mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Do not let Parquet close an Arrow file
Change-Id: I8e3a1f90907357d138d875b2761a7833b069b86f
This commit is contained in:
1 parent
9b9d94db67
commit
94bcd30cd2
1 file changed
+4
-1
@@ -68,7 +68,10 @@ Status ParquetReadSource::Open(const std::shared_ptr<io::RandomAccessFile>& file
|
||||
}
|
||||
|
||||
void ParquetReadSource::Close() {
|
||||
PARQUET_THROW_NOT_OK(file_->Close());
|
||||
// TODO(wesm): Make this a no-op for now. This leaves Python wrappers for
|
||||
// these classes in a borked state. Probably better to explicitly close.
|
||||
|
||||
// PARQUET_THROW_NOT_OK(file_->Close());
|
||||
}
|
||||
|
||||
int64_t ParquetReadSource::Tell() const {
|
||||
|
||||
Reference in new issue
Block a user