跳至内容

AWS Glue Data Quality with Iceberg

0

Hallo, I would like to add some data quality rules to my existing tables which are in Iceberg format. (Created via Glue). After setting up the DQ rule got the following error message:


Error encountered
InvalidInputException (status: 400): Invalid table definition: Parameter "table_type" in table [REDACTED] is set to "iceberg" but storage location doesn't conform to the format "s3://<warehouse-dir>/<glue database>/<glue table id>". To specify your warehouse directory, pass it in the request through AdditionalOptions={WarehouseDirectory=<your-warehouse-dir>}

We had to use a custom location of the warehouse directory. But how can I specify the warehouse directory? I cannot see any place where can I paste that info in the Data Quality module. Thanks in advance!

已提问 2 年前956 查看次数
1 回答
0

I don't think you can specify that property but you shouldn't need either. Check the table location property, as long as it points to a directory (but without a trailing /). It expects something like this:
s3://mybucket/myWH/mydb.db/table1
s3://mybucket/somePath/mydb.db/table1
(In practice it will consider everything up to the db folder as the Warehouse dir)

AWS
专家
已回答 2 年前

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

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