[JBoss JIRA] (TEIID-3333) Dynamic VDB deployment - JDBCMetadataProcessor NPE
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3333?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-3333.
---------------------------------
> Dynamic VDB deployment - JDBCMetadataProcessor NPE
> --------------------------------------------------
>
> Key: TEIID-3333
> URL: https://issues.jboss.org/browse/TEIID-3333
> Project: Teiid
> Issue Type: Bug
> Components: JDBC Connector
> Affects Versions: 8.7
> Reporter: Mark Drilling
> Assignee: Steven Hawkins
> Fix For: 8.10
>
> Attachments: bad-vdb.xml
>
>
> I am getting NPE in JDBCMetadataProcessor for the attached dynamic VDB deployment in teiid 8.7 (DV61). This VDB uses the DashboardDS H2 source that comes installed with DV61.
> The NPE happens with this specific import property
> <property name="importer.TableNamePattern" value="DASHB_A%"/>
> The table name pattern is valid - there is a table named DASHB_ALLOWED_PANEL.
> If you change the pattern to DASHB_D%, the deployment is successful.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 10 months
[JBoss JIRA] (TEIID-3281) MongoDB: EmptyStackException when joining tables
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3281?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-3281.
---------------------------------
> MongoDB: EmptyStackException when joining tables
> ------------------------------------------------
>
> Key: TEIID-3281
> URL: https://issues.jboss.org/browse/TEIID-3281
> Project: Teiid
> Issue Type: Bug
> Components: Connector API
> Affects Versions: 8.7
> Reporter: Filip Elias
> Assignee: Ramesh Reddy
> Labels: CR2
> Fix For: 8.10
>
> Attachments: mongodb-vdb.xml, server.log
>
>
> Teiid throws java.util.EmptyStackException when joining data from table which has teiid_mongo:MERGE property enabled.
> Example:
> {code}
> insert into customer2 values(1,'Pepa', 'Koukal');
> insert into customer2 values(2,'Jan', 'Tlemil');
> insert into Address values(1,1,'Pepas Street','Pepas City','Pepas State', 'Pepas zipcode');
> insert into Address values(2,2,'Jans Street','Pepa','Jans State', 'Jans zipcode');
> {code}
> {code}
> select a.*,b.* from customer2 a inner join Address b on a.CustomerId=b.CustomerId order by a.customerID
> {code}
> {code}
> Error:
> java.util.EmptyStackException
> at java.util.Stack.peek(Stack.java:102)
> at java.util.Stack.pop(Stack.java:84)
> at org.teiid.translator.mongodb.MongoDBSelectVisitor.visit(MongoDBSelectVisitor.java:993)
> at org.teiid.language.SortSpecification.acceptVisitor(SortSpecification.java:53)
> at org.teiid.language.visitor.AbstractLanguageVisitor.visitNode(AbstractLanguageVisitor.java:51)
> at org.teiid.translator.mongodb.MongoDBSelectVisitor.append(MongoDBSelectVisitor.java:112)
> {code}
> VDB and log are in the attachment.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 10 months
[JBoss JIRA] (TEIID-3341) Metadata load failure between retries of multi-source models
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3341?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-3341.
---------------------------------
> Metadata load failure between retries of multi-source models
> ------------------------------------------------------------
>
> Key: TEIID-3341
> URL: https://issues.jboss.org/browse/TEIID-3341
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 7.7
> Reporter: Ramesh Reddy
> Assignee: Steven Hawkins
> Fix For: 8.10
>
>
> The code will attempt to load from each source until one is successful. There is an issue however that the metadatafactory is not being reset, so the next load attempt will be against existing metadata. At the debug level this will be seen as "Failed to get metadata, trying next source."
> From the forum post - If the metadata factories are chained like "NATIVE, DDL", with invalid DDL, a duplicate table issue is seen instead.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 10 months