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 2019/05/16 07:12:00 UTC

[jira] [Resolved] (BEAM-6772) Select transform has non-intuitive semantics

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

Reuven Lax resolved BEAM-6772.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.12.0

> Select transform has non-intuitive semantics
> --------------------------------------------
>
>                 Key: BEAM-6772
>                 URL: https://issues.apache.org/jira/browse/BEAM-6772
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core
>            Reporter: Reuven Lax
>            Assignee: Reuven Lax
>            Priority: Major
>             Fix For: 2.12.0
>
>          Time Spent: 12h 10m
>  Remaining Estimate: 0h
>
> Consider the following schema:
> User:
>     name: STRING
>     location: Location
>  
> Location:
>     latitude: DOUBLE
>     longitude: DOUBLE
>  
> If you apply Select.fieldNames("location"), most users expect to get back a row matching the Location schema. Instead you get back an outer schema with a single location field in it. Select should instead unnest the output up to the point where multiple fields are selected.



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