[
https://issues.apache.org/jira/browse/BEAM-10960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Szuberski updated BEAM-10960:
-----------------------------------
Description:
DropFields complement method is supposed to maintain the schema's original
order but there is Set used instead of List.
Set<String> fieldNamesToSelect = Sets.newHashSet();
should be
List<String> fieldNamesToSelect = newArrayList();
was:
DropFields complement method is supposed to maintain the schema's original
order but there is Set used instead of List.
```
Set<String> fieldNamesToSelect = Sets.newHashSet();
```
should be
```
List<String> fieldNamesToSelect = newArrayList();
```
> DropFields transform doesn't maintain the original order of fields
> ------------------------------------------------------------------
>
> Key: BEAM-10960
> URL: https://issues.apache.org/jira/browse/BEAM-10960
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Piotr Szuberski
> Assignee: Piotr Szuberski
> Priority: P2
>
> DropFields complement method is supposed to maintain the schema's original
> order but there is Set used instead of List.
> Set<String> fieldNamesToSelect = Sets.newHashSet();
> should be
> List<String> fieldNamesToSelect = newArrayList();
--
This message was sent by Atlassian Jira
(v8.3.4#803005)