简体   繁体   中英

Cannot Run a query on AWS Redshift

Hi I am experiencing a weird scenario, I have a query that I running on Dbeaver and it works:

在此处输入图像描述

But when I run the same query on aws redshift it's not working, I get relation doesn't exist:

在此处输入图像描述

Please help if you can. Dbeaver connects to redshift.

It looks like vault_control is a schema so your SQL would not normally work - as it would expect a table/view here. It may be that Dbeaver is doing something in the background, such as querying the information schema, that allows you to query for the tables in a schema like that - but it's not standard SQL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM