You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ryan Williams (JIRA)" <ji...@apache.org> on 2018/07/09 20:01:00 UTC

[jira] [Created] (BEAM-4747) Python LocalFileSystem directory-creation semantics

Ryan Williams created BEAM-4747:
-----------------------------------

             Summary: Python LocalFileSystem directory-creation semantics
                 Key: BEAM-4747
                 URL: https://issues.apache.org/jira/browse/BEAM-4747
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
    Affects Versions: 2.5.0
            Reporter: Ryan Williams
            Assignee: Ryan Williams


Coming out of discussion on [BEAM-4742|https://issues.apache.org/jira/browse/BEAM-4742] / [#5903|https://github.com/apache/beam/pull/5903] is a question of whether {{LocalFileSystem.&#123;open,create,copy,rename&#125;}} should create intermediate (destination) directories, or fail with {{IOError}}'s (as the stdlib {{os}} module generally will).

If the semantics of {{LocalFileSystem}} should mimic those of distributed filesystems (in the spirit of [recent discussion about {{DirectRunner}} being more like a local simulation of a distributed runner than a production-grade local runner|https://www.mail-archive.com/dev@beam.apache.org/msg08410.html]), then this makes sense, and it sounds like [~lcwik] and [~angoenka] are in favor of this interpretation.

I'll repurpose [#5903|https://github.com/apache/beam/pull/5903] to this end unless I hear otherwise.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)