[
https://issues.apache.org/jira/browse/BEAM-12071?focusedWorklogId=574440&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-574440
]
ASF GitHub Bot logged work on BEAM-12071:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Mar/21 22:10
Start Date: 30/Mar/21 22:10
Worklog Time Spent: 10m
Work Description: kennknowles commented on a change in pull request
#14374:
URL: https://github.com/apache/beam/pull/14374#discussion_r604464516
##########
File path: sdks/python/apache_beam/dataframe/io_test.py
##########
@@ -56,12 +63,14 @@ def temp_dir(self, files=None):
fout.write(contents)
return dir + os.path.sep
- def read_all_lines(self, pattern):
+ def read_all_lines(self, pattern, delete=False):
for path in glob.glob(pattern):
with open(path) as fin:
# TODO(Py3): yield from
for line in fin:
yield line.rstrip('\n')
+ if delete:
Review comment:
https://docs.pytest.org/en/stable/tmpdir.html
--
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: 574440)
Time Spent: 2h (was: 1h 50m)
> DataFrame IO sinks do not correctly partition by window
> -------------------------------------------------------
>
> Key: BEAM-12071
> URL: https://issues.apache.org/jira/browse/BEAM-12071
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core
> Affects Versions: 2.26.0, 2.27.0, 2.28.0
> Reporter: Brian Hulette
> Assignee: Brian Hulette
> Priority: P1
> Labels: dataframe-api
> Fix For: 2.29.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> I just discovered that when processing windowed data with DataFrameTransform,
> only one partition is written to every window, and a single window gets every
> other partition/window combination.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)