Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1949

AssertionError with Teiid order by over pushed group by

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.7
    • 7.6
    • Query Engine
    • None

      With a user query similar to:

      SELECT DB.Address, DB.City, count as Count FROM "Emp"."persons" as DB
      GROUP BY DB.Address, DB.City
      ORDER BY DB.City

      If the grouping is pushed, but the order by is not an AssertionError will occur:

      java.lang.AssertionError: Assertion failed.
      at org.teiid.core.util.Assertion.failed(Assertion.java:73)
      at org.teiid.core.util.Assertion.assertTrue(Assertion.java:68)
      at org.teiid.core.util.Assertion.assertTrue(Assertion.java:60)
      at org.teiid.query.processor.relational.SortUtility.<init>(SortUtility.java:145)

      It does not occur if neither or both are pushed.

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: