You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2019/06/10 13:04:00 UTC

[jira] [Updated] (BEAM-4608) Improve / Fix documentation examples for Beam 2.4.0 for TextIO and BigQueryIO

     [ https://issues.apache.org/jira/browse/BEAM-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ismaël Mejía updated BEAM-4608:
-------------------------------
    Component/s:     (was: io-java-files)
                 io-java-text

> Improve / Fix documentation examples for Beam 2.4.0 for TextIO and BigQueryIO
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-4608
>                 URL: https://issues.apache.org/jira/browse/BEAM-4608
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp, io-java-text
>    Affects Versions: 2.4.0
>            Reporter: Tobias Kaymak
>            Priority: Minor
>
> The documentation that is part of the code of TextIO has some usage examples.
> The description of how to achieve custom naming with the new FileIO in combination with the TextIO could be improved as the code in the "Advanced Features" is not really fully fleshed out and probably not in sync with how it should be done in Beam 2.4.0.
> [https://beam.apache.org/documentation/sdks/javadoc/2.4.0/index.html?org/apache/beam/sdk/io/TextIO.html]
> See SO Question: 
> [https://stackoverflow.com/questions/50930409/how-to-replace-withfilenamepolicy-in-apache-beam-2-4]
> The second part that could be improved is in the gcp.BigQueryIO class:
> [https://github.com/apache/beam/blob/release-2.4.0/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java#L217]
> The example is also not fully fleshed out, but most importantly the
> {{BigQueryIO.write()}} should be replaced with {{BigQueryIO.<Quote>write()}} as otherwise it won't compile.



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