You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/06/03 16:31:00 UTC

[jira] [Commented] (BEAM-1289) TextIO (and others) should provide more informative messages when encountering RVP

    [ https://issues.apache.org/jira/browse/BEAM-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546304#comment-17546304 ] 

Kenneth Knowles commented on BEAM-1289:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/18186

> TextIO (and others) should provide more informative messages when encountering RVP
> ----------------------------------------------------------------------------------
>
>                 Key: BEAM-1289
>                 URL: https://issues.apache.org/jira/browse/BEAM-1289
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Ben Chambers
>            Priority: P3
>              Labels: Clarified, starter
>
> https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/TextIO.java#L301
> When reporting failing to validate because a parameter comes from a RuntimeValueProvider (such as when creating templates) we report:
> "Cannot validate with a RVP"
> We should instead provide a message saying what went wrong and how to fix it. Something like:
> "Unable to validate parameters that aren't available until runtime. Disable validation using .withoutValidation()."



--
This message was sent by Atlassian Jira
(v8.20.7#820007)