[fix] remove some internal urls and emails
This commit is contained in:
@ -210,7 +210,7 @@ void TestOptEstSel::before_process(const char *sql_str, ObDMLStmt *&dml_stmt, Ob
|
||||
ObStmt *stmt = NULL;
|
||||
// resolver does not generate questionmark expr, selectivity changes.
|
||||
// ONLY affect UT, observer is okay. Tracked by separated isssue
|
||||
// https://work.aone.alibaba-inc.com/issue/37275937
|
||||
//
|
||||
do_resolve(sql_str, stmt, false, JSON_FORMAT, OB_SUCCESS, false);
|
||||
|
||||
dml_stmt = static_cast<ObDMLStmt *>(stmt);
|
||||
|
||||
@ -142,7 +142,7 @@ select /*+no_use_px*/ t1.c1 from t1 left join t2 t on t1.c1=t.c1,t2 left join t3
|
||||
# case 39 const predicates
|
||||
select * from t1 where true;
|
||||
# TODO shengle, core in pre calc expr, mysqltest not core, may unitest problem
|
||||
# https://work.aone.alibaba-inc.com/issue/37559700
|
||||
#
|
||||
# select * from t1 where 1=2;
|
||||
# select * from t1, t2 where 1+1=2 and t1.c1=t2.c1+1;
|
||||
select * from t1 left join t2 t on t1.c1=t.c1 where false;
|
||||
@ -572,7 +572,7 @@ select count(*) from t1 left outer join t2 using(c1) group by (t1.c1) having cou
|
||||
## EXPR_SYS coverage
|
||||
select now() from t1 left outer join t2 using(c1);
|
||||
|
||||
##bug:http://k3.alibaba-inc.com/issue/6621523?versionId=1043693
|
||||
##bug:
|
||||
select a1.c2 from t1 left join t2 a1 on (a1.c1= t1.c1) where least(t1.c2, a1.c2) > 1;
|
||||
select a1.c2 from t1 left join t2 a1 on (a1.c1= t1.c1) where length(t1.c2) > 1;
|
||||
select a2.c2, t1.c2, a1.c2 from t1 left join t2 a1 on (a1.c1 = t1.c1), t2 a2 where least(t1.c2, a1.c2) =a2.c2;
|
||||
@ -588,7 +588,7 @@ select c1, (select count(c1) from t7 where c1=t4.c1) calc_total, (select count(c
|
||||
select c1, (select count(c1) from t7 ) calc_total, (select count(c1) from t8 ) calc_new from t4 where c1 in (select distinct c1 from t1);
|
||||
select distinct (select c1) from t4 limit 100;
|
||||
|
||||
#bug https://k3.alibaba-inc.com/issue/8378010?stat=1.5.1&toPage=1&versionId=1043693.期望走索引
|
||||
#bug
|
||||
select * from t4 where c1 > 0 and c1 < 100 order by c2 limit 1;
|
||||
|
||||
#like and between selectivity
|
||||
|
||||
@ -81,7 +81,7 @@ update t7 set c1=1 where c1 in (select c1 from t8 where t7.c2=c2);
|
||||
update t7 set c1=(select c1 from t8);
|
||||
update t7 set c1=(select c1 from t8 where t7.c2=c2);
|
||||
|
||||
##bug:http://k3.alibaba-inc.com/issue/6652088?stat=1.5.2&toPage=1&versionId=1043693 elimilation of orderby in delete_stmt and update_stmt
|
||||
##bug:
|
||||
delete from t7 where abs(c1) > 0 order by c1 limit 1;
|
||||
update t7 set c1 = 1 where abs(c2) > 0 order by c1 limit 1;
|
||||
|
||||
|
||||
@ -259,7 +259,7 @@ CREATE TABLE `rpt_adgroup_tag_realtime` ( `custid` bigint(20) NOT NULL, `theda
|
||||
CREATE TABLE `cb_loan_acctbal_01` ( `acctnbr` varchar(34) NOT NULL COMMENT '账号', `balcatcd` varchar(4) NOT NULL COMMENT '余额类别代码', `baltypcd` varchar(4) NOT NULL COMMENT '余额类型代码', `preeffdate` date DEFAULT NULL COMMENT '上次生效日期', `preamt` decimal(21,5) DEFAULT '0.00000' COMMENT '上次金额', `effdate` date NOT NULL COMMENT '余额生效日期', `amt` decimal(21,5) NOT NULL DEFAULT '0.00000' COMMENT '账户金额', `mainttellerid` varchar(20) DEFAULT NULL COMMENT '维护柜员', `maintbranchnbr` varchar(12) DEFAULT NULL COMMENT '维护机构', `gmt_create` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '维护日期', `gmt_modified` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '维护时间', `oddfreqnextduedate` date DEFAULT NULL COMMENT '不规则还款频率的下次应收日期', `nextrcvbnbr` bigint(20) DEFAULT NULL COMMENT '该账号的下个应收编号', `nextratechangedate` date DEFAULT NULL COMMENT '下个利率变更日期', PRIMARY KEY(`balcatcd`, `baltypcd`, `effdate`, `acctnbr`));
|
||||
CREATE TABLE `rpt_dim_bpp4p_timeup_item` ( `custid` bigint(20) NOT NULL COMMENT 'custid', `memberid` bigint(20) NOT NULL COMMENT 'memberid', `itemid` bigint(20) NOT NULL COMMENT '宝贝id', `itemdate` date DEFAULT NULL COMMENT '上架日期', `p4pdate` date DEFAULT NULL COMMENT '直通车开始推广日期,未上车为空', `thedate` date DEFAULT NULL COMMENT '更新日期', PRIMARY KEY (`custid`, `memberid`, `itemid`), KEY `idx_custid_itemdate_p4pdate` (`custid`, `itemdate`, `p4pdate`) BLOCK_SIZE 16384);
|
||||
|
||||
#https://aone.alibaba-inc.com/issue/12946676 调整merge join的逻辑:必须按照所有连接条件排序
|
||||
#
|
||||
CREATE TABLE `rpt_bpp4p_timeup_adgroup` ( `thedate` date NOT NULL COMMENT '日期', `custid` bigint(20) NOT NULL COMMENT '客户ID', `memberid` bigint(20) NOT NULL COMMENT '广告主ID', `campaignid` bigint(20) NOT NULL COMMENT '推广计划id', `adgroupid` bigint(20) NOT NULL COMMENT '推广组id', `itemid` bigint(20) DEFAULT NULL COMMENT '宝贝 id', `p4pdate` date DEFAULT NULL COMMENT '上车日期', `potentialindex` bigint(20) DEFAULT NULL COMMENT '潜力指数', `impression1d` bigint(20) DEFAULT NULL COMMENT '广告展现量', `validclickcnt1d` bigint(20) DEFAULT NULL COMMENT '有效点击', `validprice1d` bigint(20) DEFAULT NULL COMMENT '有效消耗', `ranksum1d` bigint(20) DEFAULT NULL COMMENT '排名总和', `finclickcnt1d` bigint(20) DEFAULT NULL COMMENT '财务点击', `finprice1d` bigint(20) DEFAULT NULL COMMENT '财务消耗', `finclickuv1d` bigint(20) DEFAULT NULL COMMENT '财务点击uv', `finclicknewuv1d` bigint(20) DEFAULT NULL COMMENT '财务点击新客uv', `ealipaycnt15d` bigint(20) DEFAULT NULL COMMENT '15天累计ALIPAY成交笔数', `ealipayamt15d` bigint(20) DEFAULT NULL COMMENT '15天累计ALIPAY成交金额', `eitemcollcnt15d` bigint(20) DEFAULT NULL COMMENT '15天累计收藏宝贝数', `ecartcnt15d` bigint(20) DEFAULT NULL COMMENT '15天累计宝贝放购物车数', `esearchpv15d` bigint(20) DEFAULT NULL COMMENT '自然流量曝光', PRIMARY KEY (`custid`, `thedate`, `memberid`, `campaignid`, `adgroupid`)) DEFAULT CHARSET = utf8mb4 COMPRESSION = 'lz4_1.0' REPLICA_NUM = 3 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 10 COMMENT = '直通车adgroup数据:定时上架 vs 普通上架';
|
||||
create database query_range;
|
||||
use query_range;
|
||||
@ -275,7 +275,7 @@ create table part_range(id int, thedate datetime, primary key(id, thedate)) part
|
||||
create table part_range_hash(id int, thedate datetime, primary key(id, thedate)) partition by range columns(thedate) subpartition by hash(id) subpartitions 5 (partition p20150101 values less than('20150101'), partition p20160101 values less than('20160101'), partition p20170101 values less than('20170101'), partition p20180101 values less than('20180101'), partition p20190101 values less than('20190101'));
|
||||
use opt;
|
||||
|
||||
#https://aone.alibaba-inc.com/issue/13044302 分布式计划生成出现sort column has not been columnized的错误
|
||||
#
|
||||
CREATE TABLE `cb_dep_acct_54` ( `acctnbr` bigint(20) NOT NULL, `curracctstatcd` varchar(4) NOT NULL, PRIMARY KEY (`acctnbr`)) partition by hash(acctnbr) partitions 5;
|
||||
CREATE TABLE `cb_dep_acctbal_54` ( `acctnbr` bigint(20) NOT NULL, `balcatcd` varchar(4) NOT NULL, `baltypcd` varchar(4) NOT NULL, PRIMARY KEY (`acctnbr`, `balcatcd`, `baltypcd`));
|
||||
CREATE TABLE `cb_dep_rxtnbal_54` ( `acctnbr` varchar(34) NOT NULL, `rtxnnbr` bigint(20) NOT NULL, `balcatcd` varchar(4) NOT NULL, `baltypcd` varchar(4) NOT NULL);
|
||||
|
||||
@ -144,7 +144,7 @@ select /*+no_use_px*/ t1.c1 from t1 left join t2 t on t1.c1=t.c1,t2 left join t3
|
||||
|
||||
# case 39 const predicates
|
||||
select * from t1 where true;
|
||||
# TODO shengle bug:https://work.aone.alibaba-inc.com/issue/37559700
|
||||
# TODO shengle bug:
|
||||
# select * from t1 where 1=2;
|
||||
# select * from t1, t2 where 1+1=2 and t1.c1=t2.c1+1;
|
||||
select * from t1 left join t2 t on t1.c1=t.c1 where false;
|
||||
@ -617,7 +617,7 @@ select count(*) from t1 left outer join t2 using(c1) group by (t1.c1) having cou
|
||||
## EXPR_SYS coverage
|
||||
select now() from t1 left outer join t2 using(c1);
|
||||
|
||||
##bug:http://k3.alibaba-inc.com/issue/6621523?versionId=1043693
|
||||
##bug:
|
||||
select a1.c2 from t1 left join t2 a1 on (a1.c1= t1.c1) where least(t1.c2, a1.c2) > 1;
|
||||
select a1.c2 from t1 left join t2 a1 on (a1.c1= t1.c1) where length(t1.c2) > 1;
|
||||
select a2.c2, t1.c2, a1.c2 from t1 left join t2 a1 on (a1.c1 = t1.c1), t2 a2 where least(t1.c2, a1.c2) =a2.c2;
|
||||
@ -977,7 +977,7 @@ select (select 'a') as c1;
|
||||
select avg(c1) as a from t1 union select sum(c1) as b from t1;
|
||||
select * from t1 group by 1>(select count(*) from t2);
|
||||
|
||||
##bug: https://k3.alibaba-inc.com/issue/8137483?versionId=1043693
|
||||
##bug:
|
||||
(select count(*) from t1) UNION (select count(*) from t1);
|
||||
select min(1) from t1;
|
||||
select max(1) from t1;
|
||||
@ -1126,7 +1126,7 @@ select /*+ index(y_t1 y_t1_i2) */ * from y_t1 where c3=10 order by c1;
|
||||
select /*+ index(y_t1 y_t1_i2) */ * from y_t1 where c3='10' order by c1;
|
||||
select /*+ index(y_t1 y_t1_i2) */ * from y_t1 where c3=c1 order by c1;
|
||||
select a from y_t3 where a = 'A' collate utf8mb4_general_ci order by a;
|
||||
#bug:https://k3.alibaba-inc.com/issue/8405924?stat=1.5.6&toPage=1&versionId=1043693
|
||||
#bug:
|
||||
select * from hint.t1 group by b having (select b from hint.t2 limit 1);
|
||||
select * from hint.t1 group by b having (select b from hint.t2 limit 1) = 1;
|
||||
select * from hint.t1 group by b having (select b from hint.t2 limit 1) = 1 or sum(b) = 1;
|
||||
@ -1265,7 +1265,7 @@ select * from tg where c1 = 'bcde';
|
||||
select * from tg where c1 = 'baaaa';
|
||||
select * from tg where c1 = 'bcde' and (c2 = 'cde' or c2 = 'baaaa');
|
||||
|
||||
#bug:https://aone.alibaba-inc.com/project/81079/issue/10487045
|
||||
#bug:
|
||||
select z1.a, z2.a from z1 full outer join z2 on z1.a = z2.a order by z1.a, z2.a;
|
||||
|
||||
### test for distributing column expr to relations
|
||||
@ -1287,7 +1287,7 @@ select c2 from (select c1, c2 from t1 order by 1) a;
|
||||
select c2 from (select c1 + c2, c2 from t1 order by 1) a;
|
||||
|
||||
#refine query range after extract exec params from subplan
|
||||
#https://aone.alibaba-inc.com/issue/11807103
|
||||
#
|
||||
select * from t1 where t1.c2 = 5 or exists (select 1 from t2 where t1.c1 = t2.c1);
|
||||
select * from t1 where t1.c2 = 5 or exists (select 1 from t2 where t1.c1 > t2.c1);
|
||||
select * from t1 where t1.c2 = 5 or exists (select 1 from t2 where t1.c1 < t2.c1);
|
||||
|
||||
Reference in New Issue
Block a user