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

AssertionError with Teiid order by over pushed group by

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: