[
https://issues.apache.org/jira/browse/ARROW-7953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050412#comment-17050412
]
Joris Van den Bossche commented on ARROW-7953:
----------------------------------------------
The new implementation has "delete_dir" and "delete_file" methods:
https://arrow.apache.org/docs/python/generated/pyarrow.fs.FileSystem.html
It is the intention that this new implementation will replace the one in
{{pyarrow.filesystem}}, but this transition is still going on (eg
{{pyarrow.parquet}} still requires the old objects).
But given that {{pyarrow.filesystem.LocalFileSystem}} is kind of legacy now, I
don't think we should expand the functionality of those.
> [Python] pyarrow.LocalFileSystem did not implement the method delete()
> ----------------------------------------------------------------------
>
> Key: ARROW-7953
> URL: https://issues.apache.org/jira/browse/ARROW-7953
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Liang Zhang
> Priority: Major
>
> [https://github.com/apache/arrow/blob/master/python/pyarrow/filesystem.py#L51]
> The abstract class FileSystem has a delete() method, but the LocalFileSystem
> doesn't implement it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)