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

Temp table ordering not honored with index

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical 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.

      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

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

              Created:
              Updated:
              Resolved: