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달 전10회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠