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

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

                Author: ASF GitHub Bot
            Created on: 22/Sep/18 16:13
            Start Date: 22/Sep/18 16:13
    Worklog Time Spent: 10m 
      Work Description: tweise closed pull request #6470: [BEAM-4594] Skip 
test_pardo_state_only for Flink PVR.
URL: https://github.com/apache/beam/pull/6470
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py 
b/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py
index a9d7270c4d9..cf08230a12b 100644
--- a/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py
+++ b/sdks/python/apache_beam/runners/portability/fn_api_runner_test.py
@@ -230,6 +230,10 @@ def cross_product(elem, sides):
           equal_to([('a', 'a'), ('a', 'b'), ('b', 'a'), ('b', 'b')]))
 
   def test_pardo_state_only(self):
+    p = self.create_pipeline()
+    if not isinstance(p.runner, fn_api_runner.FnApiRunner):
+      # test is inherited by Flink PVR, which does not support the feature yet
+      self.skipTest('User state not supported.')
 
     index_state_spec = userstate.CombiningValueStateSpec(
         'index', beam.coders.VarIntCoder(), sum)
@@ -248,7 +252,7 @@ def process(self, kv, 
index=beam.DoFn.StateParam(index_state_spec)):
                 ('B', 'b', 2),
                 ('B', 'b', 3)]
 
-    with self.create_pipeline() as p:
+    with p:
       assert_that(p | beam.Create(inputs) | beam.ParDo(AddIndex()),
                   equal_to(expected))
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 146796)
    Time Spent: 6h 10m  (was: 6h)

> Implement Beam Python User State and Timer API
> ----------------------------------------------
>
>                 Key: BEAM-4594
>                 URL: https://issues.apache.org/jira/browse/BEAM-4594
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Charles Chen
>            Assignee: Charles Chen
>            Priority: Major
>              Labels: portability
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> This issue tracks the implementation of the Beam Python User State and Timer 
> API, described here: [https://s.apache.org/beam-python-user-state-and-timers].



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

Reply via email to