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)

Reply via email to