[
https://issues.apache.org/jira/browse/BEAM-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145189#comment-17145189
]
Beam JIRA Bot commented on BEAM-4163:
-------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to 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)