beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (BEAM-5141) Improve error message when SET unregistered options
Date Mon, 20 Aug 2018 20:12:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 20/Aug/18 20:11
            Start Date: 20/Aug/18 20:11
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on issue #6216: [BEAM-5141] Improve error message
when SET unregistered options
URL: https://github.com/apache/beam/pull/6216#issuecomment-414447230
 
 
   I agree that relying on a *special* exception type is not great. I would suggest that you
expose the `PropertyDescriptors` (or something similar) from an instance of `PipelineOptionsFactory`.
This way you can programmatically enumerate all options. This would allow you to do things
like tab completion and potentially integrate better help information.
   
   Note that you'll want to decide whether PropertyDescriptors is the right thing to expose
or some other class which contains the property name, property type information, property
description, ...

----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 136251)
    Time Spent: 5h 40m  (was: 5.5h)

> Improve error message when SET unregistered options 
> ----------------------------------------------------
>
>                 Key: BEAM-5141
>                 URL: https://issues.apache.org/jira/browse/BEAM-5141
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>             Fix For: Not applicable
>
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>




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

Mime
View raw message