Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
vapukov
Master II
Master II

Talend problem with tInput components using schema (tCassandraInput, tPostgreSQLInput)

May be it is well knowing issue, but I found just last week

 

tPostgreSQL and tCassandraInput do not affected by Schema (column family name) in component/connection settings

 

I never meet this before, because:

- in my environment both primary used as target database

- and for input I always use in query schema name

 

but when make tests, I found - both return error unless You not include schema name (column family name) in query text

0683p000009LyCr.png

 

Exception in component tCassandraInput_1 (DEMO_BigDataCassandra)
com.datastax.driver.core.exceptions.InvalidQueryException: No keyspace has been specified. USE a keyspace, or explicitly specify keyspace.tablename
	at com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:50)
	at com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
	at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)

key space correct, if add it to query text - all start work (same with PostgreSQL)

P.S. there are nothing to ask - just need manually add schema/family name into SQL code
message just informative

Labels (4)
4 Replies
Anonymous
Not applicable

Hello,

We don't find a related jira issue on talend bug tracker.

Here exists a jira issue about cassandra metadata doesn't support for data viewer and it has been fixed on 6.1.2, 6.2.1

https://jira.talendforge.org/browse/TBD-3086

Best regards

Sabrina

vapukov
Master II
Master II
Author

Hi Sabrina,

sure - because I publish it here, tested on 6.4, 6.5, 7.01

it not a question, just information about problem and by-pass

Anonymous
Not applicable

Hello,

Shall we move your topic to How-Tos-and-Best-Practices board?

Best regards

Sabrina

vapukov
Master II
Master II
Author

sure - this is not a best practice 0683p000009MACn.png
but of course we can relocate it