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 2022/06/28 17:31:00 UTC

[jira] [Created] (ARROW-16928) [C++] Reconsider filesystem equality

|  ![](cid:jira-generated-image-avatar-968106d6-5d6c-4478-865f-c4a6763495d2) |
[Antoine
Pitrou](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=apitrou)
**created** an issue  
---|---  
|  
---  
|  [Apache Arrow](https://issues.apache.org/jira/browse/ARROW) /
[![Task](cid:jira-generated-image-
avatar-88471a72-3446-49d0-a893-66aa2719cebe)](https://issues.apache.org/jira/browse/ARROW-16928)
[ARROW-16928](https://issues.apache.org/jira/browse/ARROW-16928)  
---  
[[C++] Reconsider filesystem
equality](https://issues.apache.org/jira/browse/ARROW-16928)  
| Issue Type: |  ![Task](cid:jira-generated-image-
avatar-88471a72-3446-49d0-a893-66aa2719cebe) Task  
---|---  
Assignee: |  Unassigned  
Components: |  C++  
Created: |  28/Jun/22 17:30  
Priority: |  ![Minor](cid:jira-generated-image-static-
minor-f6a7db0a-de21-4e3f-a157-c50b723f286c) Minor  
Reporter: |  [Antoine
Pitrou](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=apitrou)  
|

Filesystems support an equality method to compare filesystem instances. The
original idea is that all filesystem parameters should be transparent and
easily read back, so it should be possible to support equality (similarly, it
was envisioned to allow roundtripping filesystems through URIs, though the
filesystem-to-URI direction was never implemented).

However, along the way, filesystems like S3 grew increasingly complex and
opaque modes of configuration where equality can only be approximated. It can
also be costly to compute (for example, `S3Options::Equals` involves fetching
the actual secret key and session token, which can take some time: these mere
operations consume 5 seconds in the PyArrow test suite).

Right now, filesystem equality is merely used for testing on the Python side
(to try and validate filesystem pickling).

We should decide whether we want to continue supporting filesystem equality
and, if so, what the semantics are (is approximate equality useful?).  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-
icon-5d271a93-247d-464c-a8da-7b8fba65fdcc)
](https://issues.apache.org/jira/browse/ARROW-16928#add-comment "Add Comment")
|  [Add Comment](https://issues.apache.org/jira/browse/ARROW-16928#add-comment
"Add Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---