[JBoss JIRA] (TEIIDDES-3053) Issue with trying to perform Preview Data
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3053?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3053:
-----------------------------------
Fix Version/s: (was: 11.1)
> Issue with trying to perform Preview Data
> -----------------------------------------
>
> Key: TEIIDDES-3053
> URL: https://issues.jboss.org/browse/TEIIDDES-3053
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Usability
> Affects Versions: 11.0.1
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Fix For: 11.0.2
>
>
> The issue occurs after doing the followiing:
> - use Teiid Connection importer create source model
> - create view model
> - try data preview on view table
> This issue is that your prompted with message:
> "Required data source is not deployed to the server, do you want to do it?"
> When a source model is created by Teiid Connection importer, that prompt should not occur, because the data source already exist. However, if it does exist, it should allow you to continue to try to execute preview. Right now its create data source or nothing.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (TEIIDDES-2880) New preview not working with table that calls UDF function
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2880?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2880.
------------------------------------
Assignee: Barry LaFond
Resolution: Done
11.0.x : https://github.com/Teiid-Designer/teiid-designer/commit/922a20e40e42cbbed...
> New preview not working with table that calls UDF function
> -----------------------------------------------------------
>
> Key: TEIIDDES-2880
> URL: https://issues.jboss.org/browse/TEIIDDES-2880
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.1
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Fix For: 11.1, 11.0.2
>
> Attachments: view.xmi
>
>
> I have a view model with UDF function defined as procedure and a table that uses this UDF procedure. Transformation SQL looks like this:
> {code:SQL}
> SELECT
> udfConcatNull(hsqldbParts.PARTS.PART_NAME, hsqldbParts.PARTS.PART_WEIGHT) AS NAME_WEIGHT
> FROM
> hsqldbParts.PARTS
> {code}
> When I hit Preview Data on that table, the dynamic VDB that is generated looks like this:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <vdb name="PREVIEW-fd6cadf2-4ae3-4d8f-9420-22f4882201e7" version="1">
> <description>Importer VDB</description>
> <property name="UseConnectorMetadata" value="true" />
> <property name="deployment-name" value="PREVIEW-fd6cadf2-4ae3-4d8f-9420-22f4882201e7-vdb.xml" />
> <model name="view" type="VIRTUAL" visible="true">
> <metadata type="DDL"><![CDATA[
> CREATE VIEW tab (
> NAME_WEIGHT string
> )
> AS
> select udfConcatNull(hsqldbParts.PARTS.PART_NAME,hsqldbParts.PARTS.PART_WEIGHT) as NAME_WEIGHT from hsqldbParts.PARTS;
> ]]></metadata>
> </model>
> <model name="hsqldbParts" type="PHYSICAL" visible="true">
> <source name="hsqldbParts" translator-name="oracle" connection-jndi-name="null" />
> <metadata type="DDL"><![CDATA[
> CREATE FOREIGN TABLE PARTS (
> PART_ID string(4) NOT NULL OPTIONS(NAMEINSOURCE '"PART_ID"', NATIVE_TYPE 'CHAR', FIXED_LENGTH 'TRUE'),
> PART_NAME string(255) OPTIONS(NAMEINSOURCE '"PART_NAME"', NATIVE_TYPE 'VARCHAR2'),
> PART_COLOR string(30) OPTIONS(NAMEINSOURCE '"PART_COLOR"', NATIVE_TYPE 'VARCHAR2'),
> PART_WEIGHT string(255) OPTIONS(NAMEINSOURCE '"PART_WEIGHT"', NATIVE_TYPE 'VARCHAR2'),
> CONSTRAINT PK_PARTS PRIMARY KEY(PART_ID)
> ) OPTIONS(NAMEINSOURCE '"PARTSSUPPLIER"."PARTS"')
> ]]></metadata>
> </model>
> </vdb>
> {code}
> If I see correctly, the UDF procedure is not in the dynamic VDB.
> I know that the situation about dynamic VDBs and UDF functions in JAR files is complicated and I am not sure right now how this should be resolved.
> But in my opinion the udf procedure should be in the dynamic VDB and there should be a warning that TD won't deploy the JAR to the server and if user wants to make a preview, the JAR should be deployed to the server manually. (If I remember correctly there is one when user is trying to generate dynamic VDB from static VDB with UDF function)
> View model attached
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (TEIIDDES-2880) New preview not working with table that calls UDF function
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2880?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2880:
-----------------------------------
Fix Version/s: (was: 11.1)
> New preview not working with table that calls UDF function
> -----------------------------------------------------------
>
> Key: TEIIDDES-2880
> URL: https://issues.jboss.org/browse/TEIIDDES-2880
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.1
> Environment: MAC
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Critical
> Fix For: 11.0.2
>
> Attachments: view.xmi
>
>
> I have a view model with UDF function defined as procedure and a table that uses this UDF procedure. Transformation SQL looks like this:
> {code:SQL}
> SELECT
> udfConcatNull(hsqldbParts.PARTS.PART_NAME, hsqldbParts.PARTS.PART_WEIGHT) AS NAME_WEIGHT
> FROM
> hsqldbParts.PARTS
> {code}
> When I hit Preview Data on that table, the dynamic VDB that is generated looks like this:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <vdb name="PREVIEW-fd6cadf2-4ae3-4d8f-9420-22f4882201e7" version="1">
> <description>Importer VDB</description>
> <property name="UseConnectorMetadata" value="true" />
> <property name="deployment-name" value="PREVIEW-fd6cadf2-4ae3-4d8f-9420-22f4882201e7-vdb.xml" />
> <model name="view" type="VIRTUAL" visible="true">
> <metadata type="DDL"><![CDATA[
> CREATE VIEW tab (
> NAME_WEIGHT string
> )
> AS
> select udfConcatNull(hsqldbParts.PARTS.PART_NAME,hsqldbParts.PARTS.PART_WEIGHT) as NAME_WEIGHT from hsqldbParts.PARTS;
> ]]></metadata>
> </model>
> <model name="hsqldbParts" type="PHYSICAL" visible="true">
> <source name="hsqldbParts" translator-name="oracle" connection-jndi-name="null" />
> <metadata type="DDL"><![CDATA[
> CREATE FOREIGN TABLE PARTS (
> PART_ID string(4) NOT NULL OPTIONS(NAMEINSOURCE '"PART_ID"', NATIVE_TYPE 'CHAR', FIXED_LENGTH 'TRUE'),
> PART_NAME string(255) OPTIONS(NAMEINSOURCE '"PART_NAME"', NATIVE_TYPE 'VARCHAR2'),
> PART_COLOR string(30) OPTIONS(NAMEINSOURCE '"PART_COLOR"', NATIVE_TYPE 'VARCHAR2'),
> PART_WEIGHT string(255) OPTIONS(NAMEINSOURCE '"PART_WEIGHT"', NATIVE_TYPE 'VARCHAR2'),
> CONSTRAINT PK_PARTS PRIMARY KEY(PART_ID)
> ) OPTIONS(NAMEINSOURCE '"PARTSSUPPLIER"."PARTS"')
> ]]></metadata>
> </model>
> </vdb>
> {code}
> If I see correctly, the UDF procedure is not in the dynamic VDB.
> I know that the situation about dynamic VDBs and UDF functions in JAR files is complicated and I am not sure right now how this should be resolved.
> But in my opinion the udf procedure should be in the dynamic VDB and there should be a warning that TD won't deploy the JAR to the server and if user wants to make a preview, the JAR should be deployed to the server manually. (If I remember correctly there is one when user is trying to generate dynamic VDB from static VDB with UDF function)
> View model attached
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (TEIIDDES-2959) Overriding translator isn't set automatically to source model in the VDB
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2959?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2959:
-----------------------------------
Fix Version/s: 11.0.2
> Overriding translator isn't set automatically to source model in the VDB
> ------------------------------------------------------------------------
>
> Key: TEIIDDES-2959
> URL: https://issues.jboss.org/browse/TEIIDDES-2959
> Project: Teiid Designer
> Issue Type: Feature Request
> Affects Versions: 10.0.2
> Reporter: Matej Kralik
> Fix For: 11.0.2
>
> Attachments: screenshot1.png, screenshot2.png, screenshot3.png, screenshot4.png
>
>
> I changed some parameters in the edit translator override window on the source model (screenshot1).I generated VDB, the overriding translator is created (screenshot2) but source model contains still default translator (screenshot3) and I have to manually set the overriding translator. I think that teiid designer should be automatically set override translator to the source model if was changed some properties in the edit translator override window.(screenshot4)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months