alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.93k stars 8.57k forks source link

db2使用druid分析sql语句,不支持with as语法,是否可以支持 #1469

Open leezongjie opened 7 years ago

leezongjie commented 7 years ago

Hi, 我们用到的db2 的with as语句如下,目前druid不支持这个语句,是否可以支持 WITH rpl(INNER_ROLE_CD,INNER_ROLE_CD_1) as (select root.INNER_ROLE_CD,root.INNER_ROLE_CD_1 from pl_0007 root where root.INNER_ROLE_CD_1= ? union all select child.INNER_ROLE_CD,child.INNER_ROLE_CD_1 from rpl parent, pl_0007 child where parent.INNER_ROLE_CD = child.INNER_ROLE_CD_1 ) select distinct rpl.INNER_ROLE_CD,rpl.INNER_ROLE_CD_1 from rpl;

li362692680 commented 7 years ago

希望提供with as 语句支持