You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Reuven Lax (Jira)" <ji...@apache.org> on 2020/03/03 22:02:00 UTC

[jira] [Resolved] (BEAM-7333) Select need the ability to rename fields

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

Reuven Lax resolved BEAM-7333.
------------------------------
    Fix Version/s: 2.20.0
       Resolution: Fixed

> Select need the ability to rename fields
> ----------------------------------------
>
>                 Key: BEAM-7333
>                 URL: https://issues.apache.org/jira/browse/BEAM-7333
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core
>            Reporter: Reuven Lax
>            Priority: Major
>             Fix For: 2.20.0
>
>
> There needs to be a way to rename fields in Select - i.e. Select("field1").as("field2").
> While in many cases the RenameFields transform could be used, that doesn't help when a Select would return conflicting names - i.e. Select("a.c", "b.c"). In this case the Select transform would fail, because the output schema would have two fields of the same name. 



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