Redshift联合查询错误码25000。

0

【以下的问题经过翻译处理】 我们正在尝试设置新的Redshift联合查询服务,以允许我们在多个Redshift集群之间查询。我们已按照文档正确设置了IAM角色,并在目标集群上创建了外部模式。但是,当我们执行远程集群的查询时,我们始终收到以下错误。错误下面是设置详细信息和示例查询。有其他人见过这种情况吗?我们缺少什么或有什么解决方法吗?

值得注意的是,查询似乎从未到达远程集群。

感谢!

错误:
错误:3不在参数“extra_float_digits”的有效范围内(-15..2)
代码:25000
上下文:
查询:0
位置:pgclient.cpp:623
进程:padbmaster [pid=10871]

以下是我们为外部模式设置的基本操作(所有名称已更改以保持机密):

CREATE EXTERNAL SCHEMA IF NOT EXISTS myextschema

FROM POSTGRES

DATABASE 'mydb' SCHEMA 'remoteschema'

URI 'xxxxxxxxxxxxxxxx' PORT 5439

IAM_ROLE 'arn:aws:iam::xxxxxxxx:role/MyRole'

SECRET_ARN 'arn:aws:secretsmanager:xxxxxxxxxx';

-- 验证外部模式已创建

SELECT * FROM svv_external_schemas;

-- 执行简单查询,打击远程集群

SELECT 1

FROM myextschema.remotetablename;

编辑于:asidari-sp 于2020年6月3日下午3:22编辑

编辑于:asidari-sp 于2020年6月3日下午3:23编辑

编辑于:asidari-sp 于2020年6月3日下午3:24编辑

profile picture
专家
已提问 5 个月前9 查看次数
1 回答
0

【以下的回答经过翻译处理】 issue has been fixed after enabling "Enhanced VPC Routing" worked. Thanks!

Btw I wish the AWS docs here were more clear: https://docs.aws.amazon.com/redshift/latest/dg/getting-started-federated.html. My teams RDS instance was in the same VPC and subnet group as our Redshift cluster so we skipped over this step in the docs

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则