Bug 1530236
| Summary: | Osisoft translator - correlated subquery on HAVING clause fails | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Andrej Smigala <asmigala> |
| Component: | Teiid, Documentation | Assignee: | David Le Sage <dlesage> |
| Status: | CLOSED WONTFIX | QA Contact: | Andrej Smigala <asmigala> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.4.0 | CC: | blafond, drieden, gjospin, jolee, jschatte, jstastny, thauser, vhalbert |
| Target Milestone: | CR5 | Keywords: | Documentation |
| Target Release: | 6.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: |
Running a query with a correlated subquery in a HAVING clause
fails on the data source with an exception. This is due to an issue with the Osisoft PI data source.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-19 04:34:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
You're right, but I think it's still worth documenting as a known issue. Release note drafted. Release note added. Engineering aspect set to WONTFIX for this release. |
Running a query with a correlated subquery in a HAVING clause, such as SELECT INTKEY, STRINGKEY FROM BQT1.SMALLA AS A WHERE NOT (INTKEY IN (10)) GROUP BY INTKEY, STRINGKEY HAVING INTKEY = (SELECT MIN(STRINGKEY) FROM BQT1.SMALLA AS B WHERE A.INTKEY = B.INTKEY) fails on the datasource with com.osisoft.rdsa.RdsaException: [PIOLEDBENT] HAVING condition cannot be nonaggregate. This seems to be an issue on the Osisoft PI datasource side, as running the query directly against the datasource produces the same failure.