[
https://issues.jboss.org/browse/TEIID-2837?page=com.atlassian.jira.plugin...
]
Ivan Chan commented on TEIID-2837:
----------------------------------
I did. And I ran into the following error by using Teiid 8.7 Beta 1:
Caused by: org.teiid.translator.TranslatorException: TEIID22000 Could not find the
keyspace metadata.
at
org.teiid.translator.cassandra.CassandraExecutionFactory.getMetadata(CassandraExecutionFactory.java:108)
at
org.teiid.translator.cassandra.CassandraExecutionFactory.getMetadata(CassandraExecutionFactory.java:54)
at
org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:73)
at
org.teiid.query.metadata.ChainingMetadataRepository.loadMetadata(ChainingMetadataRepository.java:55)
at org.teiid.runtime.EmbeddedServer.loadMetadata(EmbeddedServer.java:654)
at
org.teiid.runtime.AbstractVDBDeployer.loadMetadata(AbstractVDBDeployer.java:161)
at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:615)
at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:546)
at
com.jaspersoft.jasperserver.api.engine.common.virtualdatasourcequery.impl.TeiidVirtualDataSourceQueryServiceImpl.deployVirtualDataSource(TeiidVirtualDataSourceQueryServiceImpl.java:289)
... 152 more
Caused by: org.apache.cassandra.db.KeyspaceNotDefinedException: "PortfolioDemo"
at
org.teiid.resource.adapter.cassandra.CassandraConnectionImpl.keyspaceInfo(CassandraConnectionImpl.java:90)
at
org.teiid.translator.cassandra.CassandraExecutionFactory.getMetadata(CassandraExecutionFactory.java:106)
... 160 more
Cassandra: doesn't work with Case Sensitvie KEYSPACE and TABLE
name
--------------------------------------------------------------------
Key: TEIID-2837
URL:
https://issues.jboss.org/browse/TEIID-2837
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.6
Environment: Cassandra with Teiid 8.6
Reporter: Ivan Chan
Assignee: Steven Hawkins
Labels: teiid
Fix For: 8.7
Teiid doesn't work with KeySpace or Table which contains UpperCase.
Reference From Cassandra - Using double quote for Case Sensitive KeySpace and Table:
http://www.datastax.com/docs/1.1/references/cql/CREATE_KEYSPACE
Exception when try to deploy:
java.lang.NullPointerException
at
org.teiid.translator.cassandra.metadata.CassandraMetadataProcessor.processMetadata(CassandraMetadataProcessor.java:52)
at
org.teiid.translator.cassandra.CassandraExecutionFactory.getMetadata(CassandraExecutionFactory.java:100)
at
org.teiid.translator.cassandra.CassandraExecutionFactory.getMetadata(CassandraExecutionFactory.java:53)
at
org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:61)
at
org.teiid.query.metadata.ChainingMetadataRepository.loadMetadata(ChainingMetadataRepository.java:55)
at org.teiid.runtime.EmbeddedServer.loadMetadata(EmbeddedServer.java:644)
at
org.teiid.runtime.AbstractVDBDeployer.loadMetadata(AbstractVDBDeployer.java:161)
at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:605)
at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:536)
--
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