Skip to content

Commit

Permalink
merge with upstream/master
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhedu committed Nov 11, 2019
2 parents 53b3a60 + 5069939 commit 0a809ab
Show file tree
Hide file tree
Showing 170 changed files with 3,963 additions and 1,225 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ endif
gotest: failpoint-enable
ifeq ("$(TRAVIS_COVERAGE)", "1")
@echo "Running in TRAVIS_COVERAGE mode."
@export log_level=error; \
$(GO) get github.com/go-playground/overalls
@export log_level=error; \
$(OVERALLS) -project=github.com/pingcap/tidb \
-covermode=count \
-ignore='.git,vendor,cmd,docs,LICENSES' \
Expand Down
3 changes: 2 additions & 1 deletion cmd/benchkv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
"github.com/pingcap/tidb/kv"
"github.com/pingcap/tidb/store/tikv"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"go.uber.org/zap"
)

Expand Down Expand Up @@ -79,7 +80,7 @@ func Init() {
prometheus.MustRegister(txnCounter)
prometheus.MustRegister(txnRolledbackCounter)
prometheus.MustRegister(txnDurations)
http.Handle("/metrics", prometheus.Handler())
http.Handle("/metrics", promhttp.Handler())

go func() {
err1 := http.ListenAndServe(":9191", nil)
Expand Down
28 changes: 14 additions & 14 deletions cmd/explaintest/r/explain_complex.result
Original file line number Diff line number Diff line change
Expand Up @@ -245,17 +245,17 @@ id count task operator info
Sort_10 1.00 root Column#31:asc
└─HashAgg_15 1.00 root group by:Column#1, funcs:firstrow(Column#1), firstrow(Column#2), firstrow(Column#3), firstrow(Column#4), firstrow(Column#5), firstrow(Column#6), firstrow(Column#7), firstrow(Column#8), firstrow(Column#9), firstrow(Column#10)
└─Selection_22 0.01 root or(eq(Column#22, 62), or(eq(Column#1, 20), eq(Column#1, 20)))
└─HashLeftJoin_23 0.02 root left outer join, inner:TableReader_70, equal:[eq(Column#11, Column#23)]
├─IndexMergeJoin_39 0.01 root left outer join, inner:IndexLookUp_37, outer key:Column#1, inner key:Column#17
│ ├─IndexLookUp_60 0.01 root
│ │ ├─IndexScan_57 10.00 cop[tikv] table:d, index:ctx, range:[1,1], keep order:false, stats:pseudo
│ │ └─Selection_59 0.01 cop[tikv] eq(Column#8, 1000)
│ │ └─TableScan_58 10.00 cop[tikv] table:d, keep order:false, stats:pseudo
│ └─IndexLookUp_37 0.00 root
│ ├─Selection_35 1.25 cop[tikv] not(isnull(Column#17))
│ │ └─IndexScan_33 1.25 cop[tikv] table:p, index:department_id, range: decided by [eq(Column#17, Column#1)], keep order:true, stats:pseudo
│ └─Selection_36 0.00 cop[tikv] eq(Column#18, 1000)
│ └─TableScan_34 1.25 cop[tikv] table:p, keep order:false, stats:pseudo
└─TableReader_70 9.99 root data:Selection_69
└─Selection_69 9.99 cop[tikv] eq(Column#24, 1000), not(isnull(Column#23))
└─TableScan_68 10000.00 cop[tikv] table:ep, range:[-inf,+inf], keep order:false, stats:pseudo
└─HashLeftJoin_24 0.02 root left outer join, inner:IndexMergeJoin_40 (REVERSED), equal:[eq(Column#11, Column#23)]
├─IndexMergeJoin_40 0.01 root left outer join, inner:IndexLookUp_38, outer key:Column#1, inner key:Column#17
│ ├─IndexLookUp_62 0.01 root
│ │ ├─IndexScan_59 10.00 cop[tikv] table:d, index:ctx, range:[1,1], keep order:false, stats:pseudo
│ │ └─Selection_61 0.01 cop[tikv] eq(Column#8, 1000)
│ │ └─TableScan_60 10.00 cop[tikv] table:d, keep order:false, stats:pseudo
│ └─IndexLookUp_38 0.00 root
│ ├─Selection_36 1.25 cop[tikv] not(isnull(Column#17))
│ │ └─IndexScan_34 1.25 cop[tikv] table:p, index:department_id, range: decided by [eq(Column#17, Column#1)], keep order:true, stats:pseudo
│ └─Selection_37 0.00 cop[tikv] eq(Column#18, 1000)
│ └─TableScan_35 1.25 cop[tikv] table:p, keep order:false, stats:pseudo
└─TableReader_72 9.99 root data:Selection_71
└─Selection_71 9.99 cop[tikv] eq(Column#24, 1000), not(isnull(Column#23))
└─TableScan_70 10000.00 cop[tikv] table:ep, range:[-inf,+inf], keep order:false, stats:pseudo
118 changes: 59 additions & 59 deletions cmd/explaintest/r/explain_easy.result
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ IndexReader_6 10.00 root index:IndexScan_5
└─IndexScan_5 10.00 cop[tikv] table:t1, index:c2, range:[1,1], keep order:false, stats:pseudo
explain select * from t1 left join t2 on t1.c2 = t2.c1 where t1.c1 > 1;
id count task operator info
HashLeftJoin_22 4166.67 root left outer join, inner:TableReader_35, equal:[eq(Column#2, Column#4)]
├─TableReader_32 3333.33 root data:TableScan_31
│ └─TableScan_31 3333.33 cop[tikv] table:t1, range:(1,+inf], keep order:false, stats:pseudo
└─TableReader_35 9990.00 root data:Selection_34
└─Selection_34 9990.00 cop[tikv] not(isnull(Column#4))
└─TableScan_33 10000.00 cop[tikv] table:t2, range:[-inf,+inf], keep order:false, stats:pseudo
HashLeftJoin_23 4166.67 root left outer join, inner:TableReader_33 (REVERSED), equal:[eq(Column#2, Column#4)]
├─TableReader_33 3333.33 root data:TableScan_32
│ └─TableScan_32 3333.33 cop[tikv] table:t1, range:(1,+inf], keep order:false, stats:pseudo
└─TableReader_36 9990.00 root data:Selection_35
└─Selection_35 9990.00 cop[tikv] not(isnull(Column#4))
└─TableScan_34 10000.00 cop[tikv] table:t2, range:[-inf,+inf], keep order:false, stats:pseudo
explain update t1 set t1.c2 = 2 where t1.c1 = 1;
id count task operator info
Update_2 N/A root N/A
Expand Down Expand Up @@ -111,11 +111,11 @@ explain select (select count(1) k from t1 s where s.c1 = t1.c1 having k != 0) fr
id count task operator info
Projection_12 10000.00 root ifnull(Column#7, 0)
└─MergeJoin_13 10000.00 root left outer join, left key:Column#1, right key:Column#4
├─TableReader_16 10000.00 root data:TableScan_15
│ └─TableScan_15 10000.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:true, stats:pseudo
└─Projection_17 8000.00 root 1, Column#4
└─TableReader_19 10000.00 root data:TableScan_18
└─TableScan_18 10000.00 cop[tikv] table:s, range:[-inf,+inf], keep order:true, stats:pseudo
├─TableReader_17 10000.00 root data:TableScan_16
│ └─TableScan_16 10000.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:true, stats:pseudo
└─Projection_18 8000.00 root 1, Column#4
└─TableReader_20 10000.00 root data:TableScan_19
└─TableScan_19 10000.00 cop[tikv] table:s, range:[-inf,+inf], keep order:true, stats:pseudo
explain select * from information_schema.columns;
id count task operator info
MemTableScan_4 10000.00 root
Expand Down Expand Up @@ -364,27 +364,27 @@ Projection_10 5.00 root Column#12
├─TableReader_14 5.00 root data:TableScan_13
│ └─TableScan_13 5.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false
└─StreamAgg_19 1.00 root funcs:count(1)
└─MergeJoin_49 2.40 root left outer join, left key:Column#4, right key:Column#7
├─IndexReader_36 2.40 root index:Selection_35
│ └─Selection_35 2.40 cop[tikv] eq(3, Column#1)
│ └─IndexScan_34 3.00 cop[tikv] table:s, index:b, range:[3,3], keep order:true
└─TableReader_39 4.00 root data:Selection_38
└─Selection_38 4.00 cop[tikv] eq(3, Column#1)
└─TableScan_37 5.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:true
└─MergeJoin_50 2.40 root left outer join, left key:Column#4, right key:Column#7
├─IndexReader_37 2.40 root index:Selection_36
│ └─Selection_36 2.40 cop[tikv] eq(3, Column#1)
│ └─IndexScan_35 3.00 cop[tikv] table:s, index:b, range:[3,3], keep order:true
└─TableReader_40 4.00 root data:Selection_39
└─Selection_39 4.00 cop[tikv] eq(3, Column#1)
└─TableScan_38 5.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:true
explain select t.c in (select count(*) from t s right join t t1 on s.a = t1.a where 3 = t.a and t1.b = 3) from t;
id count task operator info
Projection_10 5.00 root Column#12
└─Apply_12 5.00 root CARTESIAN left outer semi join, inner:StreamAgg_19, other cond:eq(Column#3, Column#10)
├─TableReader_14 5.00 root data:TableScan_13
│ └─TableScan_13 5.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false
└─StreamAgg_19 1.00 root funcs:count(1)
└─MergeJoin_48 2.40 root right outer join, left key:Column#4, right key:Column#7
├─TableReader_35 4.00 root data:Selection_34
│ └─Selection_34 4.00 cop[tikv] eq(3, Column#1)
│ └─TableScan_33 5.00 cop[tikv] table:s, range:[-inf,+inf], keep order:true
└─IndexReader_38 2.40 root index:Selection_37
└─Selection_37 2.40 cop[tikv] eq(3, Column#1)
└─IndexScan_36 3.00 cop[tikv] table:t1, index:b, range:[3,3], keep order:true
└─MergeJoin_49 2.40 root right outer join, left key:Column#4, right key:Column#7
├─TableReader_36 4.00 root data:Selection_35
│ └─Selection_35 4.00 cop[tikv] eq(3, Column#1)
│ └─TableScan_34 5.00 cop[tikv] table:s, range:[-inf,+inf], keep order:true
└─IndexReader_39 2.40 root index:Selection_38
└─Selection_38 2.40 cop[tikv] eq(3, Column#1)
└─IndexScan_37 3.00 cop[tikv] table:t1, index:b, range:[3,3], keep order:true
drop table if exists t;
create table t(a int unsigned);
explain select t.a = '123455' from t;
Expand Down Expand Up @@ -525,21 +525,21 @@ Projection_4 10.00 root plus(1, Column#2)
└─TableScan_5 10000.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false, stats:pseudo
explain select * from t ta left outer join t tb on ta.nb = tb.nb and ta.a > 1 where ifnull(ta.nb, 1) or ta.nb is null;
id count task operator info
HashLeftJoin_7 8320.83 root left outer join, inner:TableReader_12, equal:[eq(Column#2, Column#6)], left cond:[gt(Column#1, 1)]
├─TableReader_10 6656.67 root data:Selection_9
│ └─Selection_9 6656.67 cop[tikv] or(Column#2, isnull(Column#2))
│ └─TableScan_8 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_12 10000.00 root data:TableScan_11
└─TableScan_11 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
HashLeftJoin_7 8320.83 root left outer join, inner:TableReader_13, equal:[eq(Column#2, Column#6)], left cond:[gt(Column#1, 1)]
├─TableReader_11 6656.67 root data:Selection_10
│ └─Selection_10 6656.67 cop[tikv] or(Column#2, isnull(Column#2))
│ └─TableScan_9 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_13 10000.00 root data:TableScan_12
└─TableScan_12 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
explain select * from t ta right outer join t tb on ta.nb = tb.nb and ta.a > 1 where ifnull(tb.nb, 1) or tb.nb is null;
id count task operator info
HashRightJoin_7 6656.67 root right outer join, inner:TableReader_10, equal:[eq(Column#2, Column#6)]
├─TableReader_10 3333.33 root data:Selection_9
│ └─Selection_9 3333.33 cop[tikv] gt(Column#1, 1)
│ └─TableScan_8 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_13 6656.67 root data:Selection_12
└─Selection_12 6656.67 cop[tikv] or(Column#6, isnull(Column#6))
└─TableScan_11 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
HashRightJoin_7 6656.67 root right outer join, inner:TableReader_11, equal:[eq(Column#2, Column#6)]
├─TableReader_11 3333.33 root data:Selection_10
│ └─Selection_10 3333.33 cop[tikv] gt(Column#1, 1)
│ └─TableScan_9 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_14 6656.67 root data:Selection_13
└─Selection_13 6656.67 cop[tikv] or(Column#6, isnull(Column#6))
└─TableScan_12 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
explain select * from t ta inner join t tb on ta.nb = tb.nb and ta.a > 1 where ifnull(tb.nb, 1) or tb.nb is null;
id count task operator info
HashRightJoin_9 4166.67 root inner join, inner:TableReader_12, equal:[eq(Column#2, Column#6)]
Expand Down Expand Up @@ -568,20 +568,20 @@ Projection_12 10000.00 root Column#15
explain select * from t ta left outer join t tb on ta.nb = tb.nb and ta.a > 1 where ifnull(tb.a, 1) or tb.a is null;
id count task operator info
Selection_7 10000.00 root or(ifnull(Column#5, 1), isnull(Column#5))
└─HashLeftJoin_8 12500.00 root left outer join, inner:TableReader_12, equal:[eq(Column#2, Column#6)], left cond:[gt(Column#1, 1)]
├─TableReader_10 10000.00 root data:TableScan_9
│ └─TableScan_9 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_12 10000.00 root data:TableScan_11
└─TableScan_11 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
└─HashLeftJoin_8 12500.00 root left outer join, inner:TableReader_13, equal:[eq(Column#2, Column#6)], left cond:[gt(Column#1, 1)]
├─TableReader_11 10000.00 root data:TableScan_10
│ └─TableScan_10 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_13 10000.00 root data:TableScan_12
└─TableScan_12 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
explain select * from t ta right outer join t tb on ta.nb = tb.nb and ta.a > 1 where ifnull(tb.a, 1) or tb.a is null;
id count task operator info
HashRightJoin_7 8000.00 root right outer join, inner:TableReader_10, equal:[eq(Column#2, Column#6)]
├─TableReader_10 3333.33 root data:Selection_9
│ └─Selection_9 3333.33 cop[tikv] gt(Column#1, 1)
│ └─TableScan_8 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_13 8000.00 root data:Selection_12
└─Selection_12 8000.00 cop[tikv] or(ifnull(Column#5, 1), isnull(Column#5))
└─TableScan_11 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
HashRightJoin_7 8000.00 root right outer join, inner:TableReader_11, equal:[eq(Column#2, Column#6)]
├─TableReader_11 3333.33 root data:Selection_10
│ └─Selection_10 3333.33 cop[tikv] gt(Column#1, 1)
│ └─TableScan_9 10000.00 cop[tikv] table:ta, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_14 8000.00 root data:Selection_13
└─Selection_13 8000.00 cop[tikv] or(ifnull(Column#5, 1), isnull(Column#5))
└─TableScan_12 10000.00 cop[tikv] table:tb, range:[-inf,+inf], keep order:false, stats:pseudo
explain select ifnull(t.a, 1) in (select count(*) from t s , t t1 where s.a = t.a and s.a = t1.a) from t;
id count task operator info
Projection_12 10000.00 root Column#15
Expand Down Expand Up @@ -669,15 +669,15 @@ insert into t values (1);
explain select * from t left outer join t t1 on t.a = t1.a where t.a not between 1 and 2;
id count task operator info
Projection_8 8320.83 root Column#1, Column#3
└─HashLeftJoin_9 8320.83 root left outer join, inner:UnionScan_14, equal:[eq(Column#1, Column#3)]
├─UnionScan_10 6656.67 root not(and(ge(Column#1, 1), le(Column#1, 2)))
│ └─TableReader_13 6656.67 root data:Selection_12
│ └─Selection_12 6656.67 cop[tikv] or(lt(Column#1, 1), gt(Column#1, 2))
│ └─TableScan_11 10000.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false, stats:pseudo
└─UnionScan_14 6656.67 root not(and(ge(Column#3, 1), le(Column#3, 2))), not(isnull(Column#3))
└─TableReader_17 6656.67 root data:Selection_16
└─Selection_16 6656.67 cop[tikv] not(isnull(Column#3)), or(lt(Column#3, 1), gt(Column#3, 2))
└─TableScan_15 10000.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:false, stats:pseudo
└─HashLeftJoin_9 8320.83 root left outer join, inner:UnionScan_15, equal:[eq(Column#1, Column#3)]
├─UnionScan_11 6656.67 root not(and(ge(Column#1, 1), le(Column#1, 2)))
│ └─TableReader_14 6656.67 root data:Selection_13
│ └─Selection_13 6656.67 cop[tikv] or(lt(Column#1, 1), gt(Column#1, 2))
│ └─TableScan_12 10000.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false, stats:pseudo
└─UnionScan_15 6656.67 root not(and(ge(Column#3, 1), le(Column#3, 2))), not(isnull(Column#3))
└─TableReader_18 6656.67 root data:Selection_17
└─Selection_17 6656.67 cop[tikv] not(isnull(Column#3)), or(lt(Column#3, 1), gt(Column#3, 2))
└─TableScan_16 10000.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:false, stats:pseudo
rollback;
drop table if exists t;
create table t(a time, b date);
Expand Down
12 changes: 6 additions & 6 deletions cmd/explaintest/r/explain_easy_stats.result
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ IndexReader_6 0.00 root index:IndexScan_5
└─IndexScan_5 0.00 cop[tikv] table:t1, index:c2, range:[1,1], keep order:false
explain select * from t1 left join t2 on t1.c2 = t2.c1 where t1.c1 > 1;
id count task operator info
HashLeftJoin_22 2481.25 root left outer join, inner:TableReader_35, equal:[eq(Column#2, Column#4)]
├─TableReader_32 1998.00 root data:TableScan_31
│ └─TableScan_31 1998.00 cop[tikv] table:t1, range:(1,+inf], keep order:false
└─TableReader_35 1985.00 root data:Selection_34
└─Selection_34 1985.00 cop[tikv] not(isnull(Column#4))
└─TableScan_33 1985.00 cop[tikv] table:t2, range:[-inf,+inf], keep order:false
HashLeftJoin_22 2481.25 root left outer join, inner:TableReader_36, equal:[eq(Column#2, Column#4)]
├─TableReader_33 1998.00 root data:TableScan_32
│ └─TableScan_32 1998.00 cop[tikv] table:t1, range:(1,+inf], keep order:false
└─TableReader_36 1985.00 root data:Selection_35
└─Selection_35 1985.00 cop[tikv] not(isnull(Column#4))
└─TableScan_34 1985.00 cop[tikv] table:t2, range:[-inf,+inf], keep order:false
explain update t1 set t1.c2 = 2 where t1.c1 = 1;
id count task operator info
Update_2 N/A root N/A
Expand Down
26 changes: 13 additions & 13 deletions cmd/explaintest/r/select.result
Original file line number Diff line number Diff line change
Expand Up @@ -327,19 +327,19 @@ drop table if exists t;
create table t (id int primary key, a int, b int);
explain select * from (t t1 left join t t2 on t1.a = t2.a) left join (t t3 left join t t4 on t3.a = t4.a) on t2.b = 1;
id count task operator info
HashLeftJoin_10 155937656.25 root CARTESIAN left outer join, inner:HashLeftJoin_17, left cond:[eq(Column#6, 1)]
├─HashLeftJoin_11 12487.50 root left outer join, inner:TableReader_16, equal:[eq(Column#2, Column#5)]
│ ├─TableReader_13 10000.00 root data:TableScan_12
│ │ └─TableScan_12 10000.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:false, stats:pseudo
│ └─TableReader_16 9990.00 root data:Selection_15
│ └─Selection_15 9990.00 cop[tikv] not(isnull(Column#5))
│ └─TableScan_14 10000.00 cop[tikv] table:t2, range:[-inf,+inf], keep order:false, stats:pseudo
└─HashLeftJoin_17 12487.50 root left outer join, inner:TableReader_22, equal:[eq(Column#8, Column#11)]
├─TableReader_19 10000.00 root data:TableScan_18
│ └─TableScan_18 10000.00 cop[tikv] table:t3, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_22 9990.00 root data:Selection_21
└─Selection_21 9990.00 cop[tikv] not(isnull(Column#11))
└─TableScan_20 10000.00 cop[tikv] table:t4, range:[-inf,+inf], keep order:false, stats:pseudo
HashLeftJoin_10 155937656.25 root CARTESIAN left outer join, inner:HashLeftJoin_19, left cond:[eq(Column#6, 1)]
├─HashLeftJoin_12 12487.50 root left outer join, inner:TableReader_18, equal:[eq(Column#2, Column#5)]
│ ├─TableReader_15 10000.00 root data:TableScan_14
│ │ └─TableScan_14 10000.00 cop[tikv] table:t1, range:[-inf,+inf], keep order:false, stats:pseudo
│ └─TableReader_18 9990.00 root data:Selection_17
│ └─Selection_17 9990.00 cop[tikv] not(isnull(Column#5))
│ └─TableScan_16 10000.00 cop[tikv] table:t2, range:[-inf,+inf], keep order:false, stats:pseudo
└─HashLeftJoin_19 12487.50 root left outer join, inner:TableReader_25, equal:[eq(Column#8, Column#11)]
├─TableReader_22 10000.00 root data:TableScan_21
│ └─TableScan_21 10000.00 cop[tikv] table:t3, range:[-inf,+inf], keep order:false, stats:pseudo
└─TableReader_25 9990.00 root data:Selection_24
└─Selection_24 9990.00 cop[tikv] not(isnull(Column#11))
└─TableScan_23 10000.00 cop[tikv] table:t4, range:[-inf,+inf], keep order:false, stats:pseudo
drop table if exists t;
create table t(a bigint primary key, b bigint);
desc select * from t where a = 1;
Expand Down
Loading

0 comments on commit 0a809ab

Please sign in to comment.