[
https://issues.apache.org/jira/browse/BEAM-12767?focusedWorklogId=645507&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-645507
]
ASF GitHub Bot logged work on BEAM-12767:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Sep/21 19:09
Start Date: 01/Sep/21 19:09
Worklog Time Spent: 10m
Work Description: kw2542 commented on pull request #15439:
URL: https://github.com/apache/beam/pull/15439#issuecomment-910603345
> Is there a unit test that we could add in a follow-up PR that would cover
this?
+1
> > Is there a unit test that we could add in a follow-up PR that would
cover this?
>
> yeah that's what I'm trying to figure out now. It seems like there was a
problem w/ DisplayData but I'm having trouble reproducing it.
Tests only failed in Python and Xlang, but not Java Portable Mode, hope this
could help direct on reproduction.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 645507)
Time Spent: 18h 50m (was: 18h 40m)
> Improve UX of PipelineOptions parsing
> -------------------------------------
>
> Key: BEAM-12767
> URL: https://issues.apache.org/jira/browse/BEAM-12767
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Steve Niemitz
> Assignee: Steve Niemitz
> Priority: P2
> Fix For: 2.34.0
>
> Time Spent: 18h 50m
> Remaining Estimate: 0h
>
> Attempting to parse complex types in PipelineOptions can have a suboptimal
> UX. For example, if the option type being parsed is an Instant, simply
> passing in:
> {{--myInstant=2021-07-17 }}{{will fail. Instead the user must pass in
> --myInstant="2021-07-17"}}{{, however, this is complicated by the fact that
> the quotes will be stripped from the arguments in many cases, requiring a
> user to actually pass in --myInstant='"2021-07-17"'. }}
> This can be improved by attempting to parse the input twice, once as-is, and
> then trying again by automatically wrapping it in quotes.
> Additionally, it's impossible to use a custom JsonDeserializer on a pipeline
> option property. We should allow using @JsonDeserialize on the getters to
> supply a custom one.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)