You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "davlee1972 (via GitHub)" <gi...@apache.org> on 2023/10/23 23:21:12 UTC
Re: [I] pyarrow write_dataset @max_open_files not closing files [arrow]
davlee1972 commented on issue #38427:
URL: https://github.com/apache/arrow/issues/38427#issuecomment-1776178373
I suspect that writing a dataset while reading from another dataset might have issues. I don't see any options to set the number of open files on a dataset read.. I'm guessing the total number of open files should files being read + files being written..
my_source_dataset = pyarrow.Dataset.dataset("original_csv_files")
pyarrow.Dataset.write_dataset(my_source_dataset, base_dir = "parted_parquet")
def dataset(source, schema=None, format=None, filesystem=None,
partitioning=None, partition_base_dir=None,
exclude_invalid_files=None, ignore_prefixes=None):
"""
Open a dataset.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org