[ 
https://issues.apache.org/jira/browse/BEAM-2857?focusedWorklogId=252934&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-252934
 ]

ASF GitHub Bot logged work on BEAM-2857:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Jun/19 06:32
            Start Date: 03/Jun/19 06:32
    Worklog Time Spent: 10m 
      Work Description: chamikaramj commented on pull request #8394: 
[BEAM-2857] Implementing WriteToFiles transform for fileio (Python)
URL: https://github.com/apache/beam/pull/8394#discussion_r289700153
 
 

 ##########
 File path: sdks/python/apache_beam/io/fileio.py
 ##########
 @@ -502,12 +502,13 @@ def expand(self, pcoll):
     file_results = (files_by_destination_pc
                     | beam.ParDo(
                         _MoveTempFilesIntoFinalDestinationFn(
-                            self.path, self.file_naming_fn)))
+                            self.path, self.file_naming_fn,
+                            self._temp_directory)))
 
     return file_results
 
 
-def _create_writer(base_path, file_name):
+def _create_writer(base_path, writer_key):
   # TODO(pabloem) Is this a good place to create a temporary directory?
 
 Review comment:
   Please create a JIRA or remove this.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 252934)
    Time Spent: 5.5h  (was: 5h 20m)

> Create FileIO in Python
> -----------------------
>
>                 Key: BEAM-2857
>                 URL: https://issues.apache.org/jira/browse/BEAM-2857
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Eugene Kirpichov
>            Assignee: Pablo Estrada
>            Priority: Major
>              Labels: gsoc, gsoc2019, mentor
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> Beam Java has a FileIO with operations: match()/matchAll(), readMatches(), 
> which together cover the majority of needs for general-purpose file 
> ingestion. Beam Python should have something similar.
> An early design document for this: https://s.apache.org/fileio-beam-python



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

Reply via email to