[teiid-issues] [JBoss JIRA] (TEIID-3401) OData layer generates incorrect alias names in orderby

Sanjeev Gour (JIRA) issues at jboss.org
Mon Mar 30 08:14:18 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054507#comment-13054507 ] 

Sanjeev Gour commented on TEIID-3401:
-------------------------------------

Hi Steve-

I have not been able to recreate this issue with H2 or the other data source where I was facing the problem. Possibly, it is some specific scenario which I missed to notice. This issue can be closed for now and if I get the scenario, I will open a new one.

Thanks.

> OData layer generates incorrect alias names in orderby
> ------------------------------------------------------
>
>                 Key: TEIID-3401
>                 URL: https://issues.jboss.org/browse/TEIID-3401
>             Project: Teiid
>          Issue Type: Bug
>          Components: OData
>            Reporter: Sanjeev Gour
>            Assignee: Steven Hawkins
>             Fix For: 8.7
>
>
> When a table has large number of columns, a request like the following http://localhost:8080/odata/VDB.1/objectName generates a query like SELECT col1 as c_1, col2 as c2.....col23 as c_23...col35 as c_35 ..FROM objectName ORDER BY "c_0", "c_1", "c_2", "c_3", "c_2"3, "c_3"5. Here c_0, c_1, c_2, c_3, c_23, c_35 happen to be the primary key columns. As seen in the query, the quotes around the column alias are incorrect for c_23 and c_35 which results into an invalid query.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the teiid-issues mailing list