先看结论
支持度undeclared
置信度medium
严重度minor
能力矩阵暂未声明该特征,按未覆盖处理并降低置信度,建议 PoC 复核
替代
需按命中位置逐条评估改写
库侧 / 应用侧
库侧
需人工确认改造边界
应用侧
需人工确认改造边界
验证建议:结果长度受 group_concat_max_len 限制(MySQL 默认 1024,超长静默截断)——目标端同名变量的默认值与上限需核对;DISTINCT/ORDER BY/SEPARATOR 组合逐个验证。openGauss B 模式(dolphin)提供 group_concat
参考来源
- https://www.gbase.cn/docs/gbase-8s/05%20%E6%95%B0%E6%8D%AE%E5%BA%93%E5%BC%80%E5%8F%91/03%20SQL%E6%8C%87%E5%8D%97%E8%AF%AD%E6%B3%95/
- https://docs.gbasedbt.com/gbase8s/
- https://dev.mysql.com/doc/refman/8.0/en/aggregate-functions.html#function_group-concat
- https://en.oceanbase.com/docs/common-oceanbase-database-10000000001228196
- https://docs.opengauss.org/zh/docs/6.0.0/docs/SQLReference/%E8%81%9A%E9%9B%86%E5%87%BD%E6%95%B0.html