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

Temp table ordering not honored with index

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.7.2, 8.2
    • 7.4
    • Query Engine
    • None
    • Hide

      Enter the IN predicate in ascending order.

      Show
      Enter the IN predicate in ascending order.

    Description

      If an IN predicate against an index is not entered in ascending order and an order by is specified against the same index, then the result will not be ordered properly.

      For example:

      create local temporary table x (e1 string, e2 integer, primary key (e2))
      ...
      select * from x as y where e2 in (3, 2) order by e2

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: