You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Anton Kedin (JIRA)" <ji...@apache.org> on 2018/04/24 00:21:00 UTC
[jira] [Created] (BEAM-4163) Fix SELECT * for Pojo queries
Anton Kedin created BEAM-4163:
---------------------------------
Summary: 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
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
(v7.6.3#76005)