oceanbase/unittest/sql/optimizer/opt_est/test_sel_special.result
oceanbase-admin cea7de1475 init push
2021-05-31 22:56:52 +08:00

25 lines
699 B
Plaintext

EXPR_STR: select * from t1,t2 where t1.c1 = t2.c1;
table1 SELECTIVITY = 0.0007125
table2 SELECTIVITY = 0.0007125
EXPR_STR: select * from t1,t2 where t1.c1 = t2.c1 or t1.c1 > 1;
table1 SELECTIVITY = 0.950036
table2 SELECTIVITY = 0.950036
EXPR_STR: select * from t1,t2 where t1.c1 = t2.c1 and t1.c1 > 1;
table1 SELECTIVITY = 0.000676875
table2 SELECTIVITY = 0.000676875
EXPR_STR: select * from t1,t2 where t1.c1 < t2.c1;
table1 SELECTIVITY = 0.333333
table2 SELECTIVITY = 0.333333
EXPR_STR: select * from t1,t2 where t1.c1 > t2.c1;
table1 SELECTIVITY = 0.333333
table2 SELECTIVITY = 0.333333
EXPR_STR: select * from t1,t2 where t1.c1 != t2.c1;
table1 SELECTIVITY = 0.5
table2 SELECTIVITY = 0.5