跳至內容

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 年前檢視次數 958 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。