amazon-web-services - 如何处理 AWS Glue 中的 `No enum constant` 错误

标签 amazon-web-services aws-glue aws-glue-data-catalog

我正在 AWS Glue 中创建工作但它在最后一步中显示以下错误。

{"service":"AWSGlue","statusCode":400,"errorCode":"InvalidInputException","requestId":"ad9ee511-adb8-11e9-9bbf-9d08424a9846","errorMessage":"No enum constant com.amazonaws.services.glue.FileFormat.UNKNOWN","type":"AwsServiceError"}

列映射正确显示如下屏幕截图。

enter image description here

我不明白的是哪个输入字段有无效数据? Glue 没有为我提供有关此错误的更多详细信息。我该如何调试这个问题?

最佳答案

我遇到了同样的问题,因为我不小心尝试了 将数据写入我的 DynamoDB 表 (如我的 目标 )。当我换到S3。有效。
您可以在 AWS Documentation 上了解更多信息。
Here亚马逊提出的问题是否与此有关。

关于amazon-web-services - 如何处理 AWS Glue 中的 `No enum constant` 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57174348/

相关文章:

amazon-web-services - 如何使用 aws-cli 为 AWS API 网关部署阶段设置客户端证书

python - Pyspark - 基于数据框中的 2 列的不同记录

amazon-web-services - 使用 spark 从胶水目录中读取而不是使用动态框架(胶水上下文)

python - AWS Glue - 将 GET(REST API) 请求的 Json 响应转换为 DataFrame/DyanamicFramce 并将其存储在 s3 存储桶中

amazon-web-services - 手动设置 AWS Glue ETL 书签

amazon-web-services - AWS 容器服务 : set max_map_count

amazon-web-services - 为什么我可以从 VPC 外的 aws lambda 调用 VPC 内的 aws lambda,反之则不行?

python - AWS Glue 中的可选作业参数?

amazon-web-services - 无法解析要使用的 AWS 帐户。它必须在定义 CDK 堆栈时配置,或者通过环境配置

amazon-web-services - 如何将 Glue/Athena/Quicksight 与 CloudFormation 结合使用