I'm trying to use a WITH statement in DBeaver built on Presto (I may have a gap in knowledge of the underlying tools and structure).
Simple query:
with t1 as (select run_id from john.link_budget limit 10)
select a.run_id
from a
Error:
SQL Error [57]: Query failed (#20230313_181242_00253_h9j4c): line 6:6: Schema must be specified when session schema is not set
What does Schema must be specified when session schema is not set mean and how could I fix it?
from a->from t1.from t1instead offrom aand removea.. Why your are using CTE for a simple select Query?