[
https://issues.apache.org/jira/browse/BEAM-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Beam JIRA Bot updated BEAM-4163:
--------------------------------
Labels: (was: stale-P2)
> Fix SELECT * for Pojo queries
> -----------------------------
>
> Key: BEAM-4163
> URL: https://issues.apache.org/jira/browse/BEAM-4163
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql
> Reporter: Anton Kedin
> Priority: P3
>
> Rows generated from Pojos are based on field indices. Which means they can
> break if Pojo fields are enumerated in a different order. Which can cause
> generated Row to be different for different runner instance. Which can cause
> SELECT * to fail.
>
> One solution is to make Pojo field ordering deterministic, e.g. sort them
> before generating field accessors.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)