[fix] remove some internal urls and emails

This commit is contained in:
obdev
2023-03-17 20:55:23 +08:00
committed by ob-robot
parent e386747097
commit 8ce2f275c4
647 changed files with 905 additions and 905 deletions

View File

@ -367,7 +367,7 @@ public:
TEST(TestURowID, single_urowid_test) {
TestAllocator alloc;
// bug: https://work.aone.alibaba-inc.com/issue/31597994
// bug:
const char *str = "*AAEWLlcAAABnYXJuaXNoIG51bWJlciB0ZWFyaW5nIG1hbnRsaW5nIGFjY3VzdG9tcyBleHRyZW1lcyBiYXNlbHkgY3JhemlseSBlbGRlciB0YXJkaWVzIHByZW1pc2UtCwAAAAACCkcywAAAAAAA";
ObURowIDData dec_data;
ASSERT_EQ(OB_SUCCESS, ObURowIDData::decode2urowid(str, strlen(str), alloc, dec_data));

View File

@ -747,7 +747,7 @@ TEST_F(ObHashJoinDumpTest, test_anti_right_join)
ASSERT_FALSE(HasFatalFailure());
}
// see https://aone.alibaba-inc.com/project/81079/issue/17944328
// see
TEST_F(ObHashJoinDumpTest, test_file_leak)
{
int ret = OB_SUCCESS;

View File

@ -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);

View File

@ -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

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -2,7 +2,7 @@ drop database if exists ambiguous;
create database ambiguous;
use ambiguous;
# http://k3.alibaba-inc.com/issue/6300608?stat=1.5.7&toPage=1&versionId=1043693
#
drop table if exists t1, t2, t3;
create table t1(c1 int primary key, c2 int);
create table t2(c1 int primary key, c2 int);
@ -10,15 +10,15 @@ create table t3(c1 int primary key, c2 int);
--error 5206
select c1, sum(c2) from t1 group by 2;
# http://k3.alibaba-inc.com/issue/6307368?stat=1.5.2&toPage=1&versionId=1043693
#
--error 5207
select * from t1 join t2 using(c1) join t3 using(c2);
# http://k3.alibaba-inc.com/issue/6311307?versionId=1043693
#
--error 5208
select * from t1 join t2 using(c1) join t1 using(c2);
# http://k3.alibaba-inc.com/issue/6258378?stat=1.5.9&toPage=1&versionId=1043693
#
--error 5207
select c2 from t1 join t2 using(c1) join t3 using(c1);
@ -30,7 +30,7 @@ select X.c1 from t1 AS X group by X.c2 having (X.c2 = 1);
select * from (select * from t1) t join t2 using(c1)
SELECT * FROM t1 LEFT JOIN t2 USING (c1) WHERE c1 IS NULL;
# http://k3.alibaba-inc.com/issue/6345854?stat=1.5.10&toPage=1&versionId=1043693
#
select c2 from t1 left join t2 using(c2);
drop database ambiguous;

View File

@ -8,7 +8,7 @@ select * from t1 left join (t2 left join t3 on d+1=e) on t1.b=t3.b;
select * from t1 left join (t2 left join t3 on d+1=b) on t1.b=t3.b;
select * from t1 left join (t2 left join t3 on c+1=b) on t1.b=t3.b;
# http://k3.alibaba-inc.com/issue/6347852?stat=1.5.1&toPage=1&versionId=1043693
#
create table t_1 (a1 int, a2 int);
create table t_2 (a1 int, b int);
create table t_3 (c1 int, c2 int);

View File

@ -424,7 +424,7 @@ select * from t_not_exist
--error 5207
select c1 a, C2 A from t1 order by a
## bug http://k3.alibaba-inc.com/issue/6347332?stat=1.5.2&toPage=1&versionId=1043693
## bug
select * from (t1);
select * from (t1,t2);
select * from (t1,(t2));
@ -436,11 +436,11 @@ select * from ((t1 join t2) join (select * from t3) a);
#select * from (t1,t2) join (t3,t4);
#select * from (t1 join t2) join (t3,t4);
# http://k3.alibaba-inc.com/issue/6328022?versionId=1043693
#
select * from t1 join t2 on t1.c1=t2.c1, t3 join t4 on t3.c3=t4.c3;
select * from t1 join t2 using(c1), t3 join t4 using(c3);
#http://k3.alibaba-inc.com/issue/6492617?stat=1.5.0&toPage=1&versionId=1043693
#
select '';
select ' ';
select '\n';
@ -457,7 +457,7 @@ select 'abc' '\n\t11111111111111111111111111111111111111111111111111111111111111
select 'abc' as '\n\t11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111a22';
select 'abc' as ` 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111a22`;
# http://k3.alibaba-inc.com/issue/6358759?stat=1.5.7&toPage=2&versionId=1043693
#
SELECT t1.c1 FROM t2 LEFT JOIN t1 ON t2.c2 = t1.c1 ORDER BY c1;
select default(c1) from t2;
select default(c3) from test2;

View File

@ -35,7 +35,7 @@ SELECT (SELECT 1) a, (select A);
SELECT 1 as a,(SELECT a+a) b,(SELECT b);
# http://k3.alibaba-inc.com/issue/6407267?stat=1.5.0&toPage=1&versionId=1043693
#
select 1 in (1, (1));
select 1 in (1, (select 1));
select 1 in ((select 1), (select 1));
@ -43,7 +43,7 @@ select 1 in ((select 1), (select 1), (select 1));
select 1 in (1, (select 1), (select c1 from t1));
#http://k3.alibaba-inc.com/issue/6213707?stat=1.5.9&toPage=1&versionId=1043693
#
select MAX(c1) c from t1 having (select c) > 0;
--error 5225
select MAX(c1) c from t1 group by (select c);

View File

@ -371,7 +371,7 @@ select * from t_not_exist
--error 5207
select c1 a, C2 A from t1 order by a
## bug http://k3.alibaba-inc.com/issue/6347332?stat=1.5.2&toPage=1&versionId=1043693
## bug
select * from (t1);
select * from (t1,t2);
select * from (t1,(t2));
@ -383,11 +383,11 @@ select * from (t1 join t2) join t3;
#select * from (t1,t2) join (t3,t4);
#select * from (t1 join t2) join (t3,t4);
# http://k3.alibaba-inc.com/issue/6328022?versionId=1043693
#
select * from t1 join t2 on t1.c1=t2.c1, t3 join t4 on t3.c3=t4.c3;
select * from t1 join t2 using(c1), t3 join t4 using(c3);
#http://k3.alibaba-inc.com/issue/6492617?stat=1.5.0&toPage=1&versionId=1043693
#
SELECT t1.c1 FROM t2 LEFT JOIN t1 ON t2.c2 = t1.c1 ORDER BY c1;
select default(c1) from t2;
--error 5217

View File

@ -1,25 +1,25 @@
# 1. opt assert failed: code_generator/ob_expr_generator_impl.cpp:119
# http://k3.alibaba-inc.com/issue/6354515?stat=1.5.12&toPage=1&versionId=1043693
#
select (select c1 from t1) as field from t1 GROUP BY field;
# http://k3.alibaba-inc.com/issue/6356302?versionId=1043693
#
select (select c3 from t1 where 1000 > c3) as 'x' from t3;
# 2. CG vistor invalid idx
# http://k3.alibaba-inc.com/issue/6323123?stat=1.5.6&toPage=1&versionId=1043693
#
select c1 as a FROM t1 GROUP BY (SELECT 1 FROM t1 HAVING a=1);
# http://k3.alibaba-inc.com/issue/6381107?stat=1.5.1&toPage=2&versionId=1043693
#
--error 5217
SELECT (SELECT 1) a, (select A)
# 3. resolver failed due to searching scope
# http://k3.alibaba-inc.com/issue/6337963?stat=1.5.10&toPage=1&versionId=1043693
#
SELECT c1 as a, c1 as b FROM t1 GROUP BY (SELECT a) ORDER BY (SELECT c2*1);
SELECT c1 as a, c2 as b FROM t2 GROUP BY (SELECT a) ORDER BY (SELECT c3);
--error 5217
select c1 as ca from t1 where (select (select ca)) > 1;
# http://k3.alibaba-inc.com/issue/6397456?stat=1.5.7&toPage=1&versionId=1043693
#
# works, expected error 1054
--error 5217
select c1, c1 DD, DD||'kaka' KK, KK || 'haha' from t1;
@ -27,7 +27,7 @@ select c1, c1 DD, DD||'kaka' KK, KK || 'haha' from t1;
select c1, c1 DD, concat(DD,'kaka') KK, concat(KK,'haha') from t1;
# 5. OPT all_expr_produced (ob_logical_operator.cpp:1372) [13112][Y8B7E0A7DE005-6C91B] failed to produce expression
# http://k3.alibaba-inc.com/issue/6323137?stat=1.5.5&toPage=1&versionId=1043693
#
--error 5217
SELECT 1 FROM (SELECT c1 FROM t1) b HAVING (SELECT b.c1)=1

View File

@ -15,7 +15,7 @@ select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2
#select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2 is null) and (not((1 + 2 > v.c2) and false));
##case should not be eliminated
# TODO shengle pre calc expr extract and calc bug: https://work.aone.alibaba-inc.com/issue/37559700
# TODO shengle pre calc expr extract and calc bug:
# select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2 is null) and (((1 + 2 > v.c2) and false) + 2 > -2);
##case arithmatic operator

View File

@ -141,6 +141,6 @@ select abs(-55), max(c2), 3 + 2, 5 from t9;
select 5, max(c2), c1 from t9;
select c1, min(c2), 233333 from t9;
#bug https://aone.alibaba-inc.com/issue/12669811
#bug
select * from (select c1 as col from t1) as L where col = (select max(c1) from t1 where L.col > 5);
select * from (select a.acctnbr as l1, a.timeuniqueextn as l2 from cb_loan_acctacctstathist_11 a left join cb_loan_acctloaninfotemp_11 b on a.acctnbr = b.acctnbr where a.acctstatcd not in ('CLS', 'DENI') and b.acctnbr is null) as l where l.l2 = (select max(a2.timeuniqueextn) from cb_loan_acctacctstathist_11 a2 where a2.acctnbr = l.l1 and a2.postdate <= '2018-11-10');

View File

@ -27,7 +27,7 @@ select * from t1 order by c2 limit 1, 10;
## with no-column predicate
# TODO shengle, core in pre calc expr, mysqltest not core, may unitest problem
# https://work.aone.alibaba-inc.com/issue/37559700
#
# select * from (select * from t1 order by c2 desc) a where 1=1 limit 1, 10;
select * from t1 order by c2 limit 1, 10;
@ -35,7 +35,7 @@ select * from t1 order by c2 limit 1, 10;
## with no-column predicate
# TODO shengle, core in pre calc expr, mysqltest not core, may unitest problem
# https://work.aone.alibaba-inc.com/issue/37559700
#
# select * from (select * from t1 order by c2 desc) a where (1=1) and (0=0) limit 1, 10;
select * from t1 order by c2 limit 1, 10;