Pavan Chakravarthy
Pavan Chakravarthy

Reputation: 593

connecting both hive & cassandra to presto at same time

Is there any possible way to connect both hive & cassandra at same time if I have the same database name.? I need to access the tables that are in hive databse & cassandra keyspace in the same time..

Thanks & regards Pavan Chakravarthy

Upvotes: 1

Views: 134

Answers (1)

slimmilan
slimmilan

Reputation: 105

You can configure both catalogs in etc/catalog folder and query them using two different queries or use a join to fetch them
As we can provide catalog_name.db_name.table_name to access a table.

Upvotes: 1

Related Questions