[teiid-issues] [JBoss JIRA] (TEIID-2197) Temp table ordering not honored with index

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Sep 10 20:44:32 EDT 2012


Steven Hawkins created TEIID-2197:
-------------------------------------

             Summary: Temp table ordering not honored with index
                 Key: TEIID-2197
                 URL: https://issues.jboss.org/browse/TEIID-2197
             Project: Teiid
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: 7.4
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
            Priority: Critical
             Fix For: 8.2


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





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list