You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/04/13 09:23:00 UTC
[jira] [Comment Edited] (ARROW-8406) [Python] FileSystem.from_uri
erases the drive on Windows
[ https://issues.apache.org/jira/browse/ARROW-8406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082174#comment-17082174 ]
Antoine Pitrou edited comment on ARROW-8406 at 4/13/20, 9:22 AM:
-----------------------------------------------------------------
I cannot reproduce:
{code:python}
>>> path = r"C:\Users\VssAdministrator\AppData\Local\Temp\pytest-of-VssAdministrator\pytest-0\test_construct_from_single_fil0\single-file"
>>> fs.FileSystem.from_uri(path)
(<pyarrow._fs.LocalFileSystem at 0xbfe81b8>,
'C:/Users/VssAdministrator/AppData/Local/Temp/pytest-of-VssAdministrator/pytest-0/test_construct_from_single_fil0/single-file')
{code}
was (Author: pitrou):
I cannot reproduce:
{code:python}
>>> path = r"C:\Users\VssAdministrator\AppData\Local\Temp\pytest-of-VssAdministrator\pytest-0\test_construct_from_single_fil0 ...: \single-file"
>>> fs.FileSystem.from_uri(path)
(<pyarrow._fs.LocalFileSystem at 0xbfe81b8>,
'C:/Users/VssAdministrator/AppData/Local/Temp/pytest-of-VssAdministrator/pytest-0/test_construct_from_single_fil0/single-file')
{code}
> [Python] FileSystem.from_uri erases the drive on Windows
> --------------------------------------------------------
>
> Key: ARROW-8406
> URL: https://issues.apache.org/jira/browse/ARROW-8406
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Reporter: Krisztian Szucs
> Assignee: Antoine Pitrou
> Priority: Major
>
> {code:python}
> path = "C:\Users\VssAdministrator\AppData\Local\Temp\pytest-of-VssAdministrator\pytest-0\test_construct_from_single_fil0\single-file"
> _, path = FileSystem.from_uri(path)
> path == "/Users/VssAdministrator/AppData/Local/Temp/pytest-of-VssAdministrator/pytest-0/test_construct_from_single_fil0/single-file"
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)