1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Hello,
Please note that errors that specify a null or empty input string ("For input string: "") happen when both of the following are true:
- You're using Athena with OpenCSVSerDe, which means that your source data uses double quotes (") as the default quote character.
- The source data contains null values ("") or empty cells.
You can refer the same in the below document: https://aws.amazon.com/premiumsupport/knowledge-center/athena-hive-bad-data-error-csv/
It seems that this error is occurring because there are empty cells for some of columns
As mentioned in the above document in order to mitigate the issue “Define each column as STRING. The parser in Athena parses the values from STRING into actual types based on what it finds. This prevents Athena from throwing an error when it finds null values (empty strings with double quotes and no spaces) or empty cells (no values or double quotes).”
回答済み 2年前
関連するコンテンツ
- 質問済み 1ヶ月前
- AWS公式更新しました 2年前