]
Steven Hawkins resolved TEIID-5693.
-----------------------------------
Fix Version/s: 12.2
Resolution: Done
Limited the aliasing to only the subquery case and added logic to produce unique aliases.
Ordering by two expressions results in the wrong odata query
------------------------------------------------------------
Key: TEIID-5693
URL:
https://issues.jboss.org/browse/TEIID-5693
Project: Teiid
Issue Type: Bug
Components: OData
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 12.2
Ordering by two non-column reference expressions:
$orderby=e2 mul 2,e2 mul 1
will result in a query that has two dervied columns with the name _orderByAlias