Bug 1271233
| Summary: | Dynamic VDB Generation - Problem with DDL generated for procedure | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Matus Makovy <mmakovy> |
| Component: | Tooling | Assignee: | Barry LaFond <blafond> |
| Status: | CLOSED NOTABUG | QA Contact: | Matus Makovy <mmakovy> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | vhalbert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Mac OS | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-07 13:27:51 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: | |||
Barry LaFond <blafond> updated the status of jira TEIIDDES-2688 to Resolved This was resolved/fixed for JBDSIS 8.0.4.GA (9.0.4.Final Designer) I reproduced this today. This is not fixed in Designer 9.0.4. According to JIRA this should be fixed in Designer 9.2 Correct, this was not merged into 9.0.4. Added a TEIIDDES-2697 since it related to virtual procedures also. Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2697 to Reopened Using only JIRA now. Marking as closed Barry LaFond <blafond> updated the status of jira TEIIDDES-2697 to Resolved Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2697 to Closed Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2697 to Reopened Barry LaFond <blafond> updated the status of jira TEIIDDES-2697 to Resolved Matej Kralik <mkralik> updated the status of jira TEIIDDES-2697 to Closed |
I have a VDB that was created for consumption of REST Web Service. There is a procedure named getProgrammes(). DDL generated for dynamic VDB is: CREATE VIRTUAL PROCEDURE getProgrammes () AS CREATE VIRTUAL PROCEDURE BEGIN DECLARE STRING VARIABLES.qp = ''; SELECT A.pid AS pid, A."start" AS "start", A."end" AS "end", A.title AS title FROM (EXEC SourceModel.invokeHttp(action=>'GET',endpoint=>VARIABLES.qp,stream=>'TRUE')) AS f, XMLTABLE('/schedule' PASSING XMLPARSE(DOCUMENT f.result) COLUMNS pid string PATH 'day/broadcasts/broadcast/pid/text()', "start" string PATH 'day/broadcasts/broadcast/start/text()', "end" string PATH 'day/broadcasts/broadcast/end/text()', title string PATH 'day/broadcasts/broadcast/programme/title/text()') AS A; END; Obviously, there is one extra "CREATE VIRTUAL PROCEDURE". Even after fixing this issue there is another error: VDB: REST State: INACTIVE ERROR: TEIID31080 ViewModel.getProgrammes validation error: TEIID31118 Element "f.result" is not defined by any relevant group. ERROR: TEIID31080 ViewModel.getProgrammes1 validation error: TEIID31118 Element "f.result" is not defined by any relevant group. Models: SourceModel ViewModel "f" should be a refrence to "EXEC SourceModel.invokeHttp(action=>'GET',endpoint=>VARIABLES.qp,stream=>'TRUE'))" as descibed in the SQL