问题描述
所以我正在使用Unload
运算符从Redshift卸载
UNLOAD(
$$
select disTINCT A,B,C
from Table
$$)
TO 's3://{}'
IAM_ROLE 'arn:aws:iam::'
DELIMITER ','
ALLOWOVERWRITE
ADDQUOTES
ESCAPE
parallel off
HEADER
gzip;
"xxx","\"><svg/onload=alert('XSS')//","xxxxx"
您可以看到"
被\
所转义。但是,当我在这里进行csv验证时:
https://toolkitbay.com/tkb/tool/csv-validator(使用严格模式)
我收到此错误,
Record #0 has error: extraneous or missing " in quoted-field
unable to parse any further
它期望引号用"
进行转义。
如何使用引号使Redshift转义引号?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)