简体   繁体   English

无法在 AWS Redshift 上运行查询

[英]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:嗨,我遇到了一个奇怪的情况,我有一个在 Dbeaver 上运行的查询,它可以工作:

在此处输入图像描述

But when I run the same query on aws redshift it's not working, I get relation doesn't exist:但是当我在 aws redshift 上运行相同的查询时它不起作用,我得到关系不存在:

在此处输入图像描述

Please help if you can.如果可以的话请帮忙。 Dbeaver connects to redshift. Dbeaver 连接到红移。

It looks like vault_control is a schema so your SQL would not normally work - as it would expect a table/view here.它看起来像 vault_control 是一个模式,所以你的 SQL 不会正常工作 - 因为它期望这里有一个表/视图。 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可能是 Dbeaver 在后台执行某些操作,例如查询信息架构,它允许您在这样的架构中查询表 - 但它不是标准 SQL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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