amazon-web-services - 将数据从 s3 加载到 redshift 时出现问题
问题描述
我有一个有 2 列的表
create table staging.test1
(
a varchar(11) not null,
b super
);
s3 文件是一个 json 文件,如下所示
{
"a": "R123",
"b": "{\\"currentPartyDetails\":\\"readyOnly\\":false}"
}
我想将它加载到 redshift 表中,在 b 列中我得到\\"
了我想在加载时抑制的内容,因为超级数据类型只需要有效的 json。
解决方案
推荐阅读
- kdb - 使用 KDB 查询表
- javascript - 使用字符串插值时调用函数
- laravel - laravel 5.7中的自定义密码重置api
- rest - Spring boot JPA - 多个实体的自定义存储库
- elasticsearch - 从搜索查询中删除文档
- scala - SBT - 多个项目依赖于一个父级
- html - 用python填写在线表格(下拉菜单)
- c++ - 创建堆栈 VM 时出现分段错误
- javascript - 更改响应式粘性导航栏中汉堡包图标的颜色
- angular6 - Angular 6 项目中的 ng-pick-datetime 版本 7,尽量不显示时间,只显示日期并在选择日期后关闭