Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4163

Fix SELECT * for Pojo queries

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • dsl-sql
    • None

    Description

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            kedin Anton Kedin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: