[JBoss JIRA] (TEIID-2717) Issues with unrelated sort over a union
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2717?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2717.
-----------------------------------
Resolution: Done
Corrected the planning error by always ensuring that an expression symbol is used in the order by item when needed.
Also updated rule plan sorts to look for the simplistic case where the dup removal of the union can be combined with the sort above.
> Issues with unrelated sort over a union
> ---------------------------------------
>
> Key: TEIID-2717
> URL: https://issues.jboss.org/browse/TEIID-2717
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> Related to https://community.jboss.org/thread/233978 a query such as:
> select e1 || 'a' from (select e1, e2 from pm1.g1 union select e1, e2 from pm1.g2) as x order by e2 || 'b'
> will fail to plan and throw TEIID30259. The issue is that the unrelated sort item should still be an expression symbol, otherwise the assign output logic assumes that it is a must pushdown function.
> Also the simpler form without an unrelated expression:
> select e1 || 'a' from (select e1, e2 from pm1.g1 union select e1, e2 from pm1.g2) as x order by e2
> can have the dup remove and the sort operations combined.
--
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
11 years, 1 month
[JBoss JIRA] (TEIID-2717) Issues with unrelated sort over a union
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-2717:
-------------------------------------
Summary: Issues with unrelated sort over a union
Key: TEIID-2717
URL: https://issues.jboss.org/browse/TEIID-2717
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.6
Related to https://community.jboss.org/thread/233978 a query such as:
select e1 || 'a' from (select e1, e2 from pm1.g1 union select e1, e2 from pm1.g2) as x order by e2 || 'b'
will fail to plan and throw TEIID30259. The issue is that the unrelated sort item should still be an expression symbol, otherwise the assign output logic assumes that it is a must pushdown function.
Also the simpler form without an unrelated expression:
select e1 || 'a' from (select e1, e2 from pm1.g1 union select e1, e2 from pm1.g2) as x order by e2
can have the dup remove and the sort operations combined.
--
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
11 years, 1 month
[JBoss JIRA] (TEIID-2716) Add Insert/update/Delete capabilities to Cassandra translator
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2716?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIID-2716.
---------------------------------
Labels: Beta1 (was: )
Assignee: Ramesh Reddy (was: Steven Hawkins)
Resolution: Done
1) Added code to support update operations on Cassendra translator
2) Removed "select *" representation from SQL string, as this will generate results out of order than expected by the engine
3) Cassendra does not support criteria to pushed on non-index columns, updated the metadata as such to non-searchable
4) Added exception handling during query execution, instead of bubling it up
> Add Insert/update/Delete capabilities to Cassandra translator
> -------------------------------------------------------------
>
> Key: TEIID-2716
> URL: https://issues.jboss.org/browse/TEIID-2716
> Project: Teiid
> Issue Type: Feature Request
> Components: Misc. Connectors
> Affects Versions: 8.6
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Labels: Beta1
> Fix For: 8.6
>
>
> - Provide capability to INSERT/UPDATE/DELETE
> - I also find some minor issues with search columns, as Cassandra only allows criteria on the index columns
--
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
11 years, 1 month
[JBoss JIRA] (TEIID-2704) DB2 lob values must be read inline
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2704?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2704:
---------------------------------------
Addressed in master/8.6 by moving the type handling logic from datatiertuple source into the ConnectorWorkItem - this allows copyLobs to work on a row by row basis. So in 8.6 with copyLobs enabled, DB2 will work as expected with respect to lobs.
This change though is broader than I would like and doesn't seem well suited for backport. At least for 7.7.9 the fix will just be to read all db2 lob values in a non-memory safe way as strings and byte arrays.
> DB2 lob values must be read inline
> ----------------------------------
>
> Key: TEIID-2704
> URL: https://issues.jboss.org/browse/TEIID-2704
> Project: Teiid
> Issue Type: Bug
> Components: JDBC Connector
> Affects Versions: 7.0
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.4.1, 8.6, 7.7.9
>
>
> With the DB2 9 driver and selecting a lob column, the resulting instance becomes invalid after the next row of the result is transitioned to.
--
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
11 years, 1 month