Error Category: UNCLASSIFIED_ERROR; An error occurred while calling o109.pyWriteDynamicFrame. Cannot write map field DetectedEntities to CSV

0

"In my AWS Glue job, I've configured an ETL process to extract data from the Data Catalog, apply a transformation to detect Personally Identifiable Information (PII), and then store the transformed data in an S3 bucket. However, during execution, I encountered the following errors:

Error Category: UNCLASSIFIED_ERROR: When attempting to write the dynamic frame to CSV format, an error occurred stating 'Cannot write map field DetectedEntities to CSV.'

Error at the S3 target: 'Target node not supported. You have selected a data target node which is not supported for data preview.'

I'm seeking guidance on resolving these issues to ensure the successful execution of my AWS Glue job. How can I troubleshoot and address these errors effectively?"

已提問 1 個月前檢視次數 169 次
1 個回答
0
已接受的答案

As the error says, the output is a nested structure. It cannot be represented on a CSV file. Try storing to parquet.

AWS
已回答 1 個月前
AWS
支援工程師
已審閱 20 天前
  • yes, thank you for clarification

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

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

回答問題指南