请教一个DMS相关问题,这是什么原因?

请教一个DMS相关问题:
【内置未知SQL安全规则】: 当前环境[product]暂不支持语句[with t as (
with t as (
with t as (
with t as (
select "rowId" from dt_dtable_cell where "columnId" = 'fldLzqVs3Rv6zIcLt' and "deletedAt" is null and "value"->>0 like '%2%'
union all
select "rowId" from dt_dtable_cell where "columnId" = 'fldulWtJRSzpiFwRT' and "deletedAt" is null and "value"->>0 like '%龙%'
)
select "rowId" from t group by "rowId" having count("rowId") = 2
union all
select "rowId" from dt_dtable_cell where "columnId" = 'fldulWtJRSzpiFwRT' and "deletedAt" is null and "value"->>0 like '%小%'
)
select "rowId" from t group by "rowId" having count("rowId") = 2
)
select t."rowId" from t
left join dt_dtable_cell as t_cell
on t."rowId" = t_cell."rowId" and t_cell."columnId" = 'fldLzqVs3Rv6zIcLt'
order by "value"->>0
)
select "rowId" from t]的执行, 请排查SQL书写是否有误. 如果一定需要在此处执行该语句,请联系DBA或管理员评估风险并修改安全规则
TraceId : 0bc0590416940673907247117e3d3c
这是什么原因?

展开
收起
嘟嘟嘟嘟嘟嘟 2023-09-12 23:47:57 174 分享 版权
1 条回答
写回答
取消 提交回答
  • 这个和安全规则没有关系,是解析有问题。
    因为解析或者语法问题,我们识别不了他的SQL类型,对于未识别的SQL,安全规则默认不允许执行,如果要执行,会被当成更新语句来执行,所以上面的select是拿不到结果集的。我们看下怎么能解决这个解析问题。
    此回答整理自钉群“阿里云DMS数据管理用户交流群”

    2023-09-13 07:47:33
    赞同 展开评论

阿里云提供了一系列数据库管理工具,可以满足您在云上进行数据库管理的各种需求。包含数据传输服务DTS、数据库备份 DBS、数据库自治服务 DAS、数据管理 DMS。

还有其他疑问?
咨询AI助理