AWS Glue 小写列
AWS Glue Lower Case Columns
我正在使用 AWS Glue 进行从 Postgres 到 Redshift 的 ETL。我导入了一个带有 Crawler 的 table 并创建了一个作业来传输数据并在 Redshift 中创建一个新的 table。我得到:
An error occurred while calling o65.getDynamicFrame. ERROR: column "id" does not exist
在原来的table列中是"Id",区分大小写。有没有办法让 Glue 区分大小写? (我无权更改 postgres 架构)。
dyf.apply_mapping(mappings, case_sensitive = True, transformation_ctx = "tfx")
在映射中,您应该将 Id 映射到 id。
我正在使用 AWS Glue 进行从 Postgres 到 Redshift 的 ETL。我导入了一个带有 Crawler 的 table 并创建了一个作业来传输数据并在 Redshift 中创建一个新的 table。我得到:
An error occurred while calling o65.getDynamicFrame. ERROR: column "id" does not exist
在原来的table列中是"Id",区分大小写。有没有办法让 Glue 区分大小写? (我无权更改 postgres 架构)。
dyf.apply_mapping(mappings, case_sensitive = True, transformation_ctx = "tfx")
在映射中,您应该将 Id 映射到 id。