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

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

                Author: ASF GitHub Bot
            Created on: 08/Jul/20 00:23
            Start Date: 08/Jul/20 00:23
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit commented on pull request #11744:
URL: https://github.com/apache/beam/pull/11744#issuecomment-655207778


   Oh I see now. I tried to fix this issue by adding `drop_defaults=true` but 
we explicitly don't drop the default value for ValueProvider arguments: 
https://github.com/apache/beam/blob/1fbc55e7819187018c2cb3cb295eb84e6f348d8a/sdks/python/apache_beam/options/pipeline_options.py#L319-L320
   
   I'm not really sure why that is but it's been there for three years so I'm a 
little hesitant to remove it... I just pushed 982e087 that does this, let's see 
if it breaks anything in CI or Google tests.
   
   I'll check back in the morning, if it breaks anything (or if anyone tells me 
this is a bad idea), I can re-write the test to only assert on specific options.


----------------------------------------------------------------
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: 455778)
    Time Spent: 2h 40m  (was: 2.5h)

> PortableRunner doesn't handle ValueProvider instances when converting 
> pipeline options
> --------------------------------------------------------------------------------------
>
>                 Key: BEAM-10007
>                 URL: https://issues.apache.org/jira/browse/BEAM-10007
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Assignee: Brian Hulette
>            Priority: P2
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> We attempt to convert ValueProvider instances directly to JSON with 
> json_format, leading to errors like the one described in BEAM-9975.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to