Skip to content

"Catalog must be specified when session catalog is not set" #7748

Answered by kokosing
EvgSkv asked this question in Q&A
Discussion options

You must be logged in to vote

To create a catalog you need to place a properties file in etc/catalog directory and restart the Trino service.

Please also see https://trino.io/docs/current/overview/concepts.html#catalog to understand what catalog means in Trino.

Here is the most simple way to provide catalog with TPCH connector https://trino.io/docs/current/connector/tpch.html#configuration

After the above you can use one of the below to set the catalog:

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by EvgSkv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants