Test foreign_key_outer_join_dead_code_elimination-explain-1join-view.sql (id b41f8504324f) (err)
foreign_key_outer_join_dead_code_elimination-explain-1join-view.stable.out.FILTERED 2018-05-30 23:35:41.450410329 +0200foreign_key_outer_join_dead_code_elimination-explain-1join-view.test.out.FILTERED 2018-05-30 23:35:41.460410794 +0200
1 Statistics about stdout of test 'foreign_key_outer_join_dead_code_elimination-explain-1join-view` in directory 'sql/test/FeatureRequests`: 1 1 Statistics about stdout of test 'foreign_key_outer_join_dead_code_elimination-explain-1join-view` in directory 'sql/test/FeatureRequests`: 1
2 88 lines, 404 words, 4783 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 89 lines, 407 words, 4836 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 88 lines, 404 words, 4783 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 89 lines, 407 words, 4836 chars in lines not matching '^$|^(\| |)#` 3
4 # 201 lines, 940 words, 8609 chars in all lines 4 ! 4 # 194 lines, 920 words, 8589 chars in all lines 4
5 5 5 5
..................
#explain select count(*) from v1;
39 % clob # type 39 36 % clob # type 36
40 % 123 # length 40 ! 37 % 103 # length 37
41 function user.s4_1():void; 41 38 function user.s4_1():void; 38
42 X_1:void := querylog.define("explain select count(*) from v1;":str, "sequential_pipe":str, 37:int); 42 ! 39 X_1:void := querylog.define("explain select count(*) from v1;":str, "sequential_pipe":str, 12:int); 39
43 X_4:int := sql.mvc(); 43 40 X_4:int := sql.mvc(); 40
..................
#explain select count(*) from v1;
45 X_8:bat[:int] := sql.bind(X_4:int, "sys":str, "fk":str, "id":str, 0:int); 45 42 X_8:bat[:int] := sql.bind(X_4:int, "sys":str, "fk":str, "id":str, 0:int); 42
46 X_18:lng := aggr.count(X_8:bat[:int], C_5:bat[:oid]); 46 ! 43 X_17:bat[:int] := algebra.projection(C_5:bat[:oid], X_8:bat[:int]); 43
+ 44 X_18:lng := aggr.count(X_17:bat[:int]); 44
47 sql.resultSet("sys.L12":str, "L11":str, "bigint":str, 64:int, 0:int, 7:int, X_18:lng); 47 ! 45 sql.resultSet("sys.L11":str, "L11":str, "bigint":str, 64:int, 0:int, 7:int, X_18:lng); 45
48 end user.s4_1; 48 46 end user.s4_1; 46
..................
#explain select id from v1 order b
78 % clob # type 78 74 % clob # type 74
79 % 123 # length 79 ! 75 % 114 # length 75
80 function user.s6_1():void; 80 76 function user.s6_1():void; 76
81 X_1:void := querylog.define("explain select id from v1 order by id;":str, "sequential_pipe":str, 48:int); 81 ! 77 X_1:void := querylog.define("explain select id from v1 order by id;":str, "sequential_pipe":str, 28:int); 77
82 X_25:bat[:str] := bat.new(nil:str); 82 ! 78 X_32:bat[:str] := bat.new(nil:str); 78
83 X_31:bat[:int] := bat.new(nil:int); 83 ! 79 X_38:bat[:int] := bat.new(nil:int); 79
84 X_29:bat[:int] := bat.new(nil:int); 84 ! 80 X_36:bat[:int] := bat.new(nil:int); 80
85 X_28:bat[:str] := bat.new(nil:str); 85 ! 81 X_35:bat[:str] := bat.new(nil:str); 81
86 X_27:bat[:str] := bat.new(nil:str); 86 ! 82 X_34:bat[:str] := bat.new(nil:str); 82
87 X_4:int := sql.mvc(); 87 83 X_4:int := sql.mvc(); 83
..................
#explain select id from v1 order b
90 X_17:bat[:int] := algebra.projection(C_5:bat[:oid], X_8:bat[:int]); 90 86 X_17:bat[:int] := algebra.projection(C_5:bat[:oid], X_8:bat[:int]); 86
91 (X_18:bat[:int], X_19:bat[:oid], X_20:bat[:oid]) := algebra.sort(X_17:bat[:int], false:bit, false:bit); 91 ! 87 (X_25:bat[:int], X_26:bat[:oid], X_27:bat[:oid]) := algebra.sort(X_17:bat[:int], false:bit, false:bit); 87
92 X_23:bat[:int] := algebra.projection(X_19:bat[:oid], X_17:bat[:int]); 92 ! 88 X_30:bat[:int] := algebra.projection(X_26:bat[:oid], X_17:bat[:int]); 88
93 X_32:bat[:str] := bat.append(X_25:bat[:str], "sys.v1":str); 93 ! 89 X_39:bat[:str] := bat.append(X_32:bat[:str], "sys.v1":str); 89
94 X_34:bat[:str] := bat.append(X_27:bat[:str], "id":str); 94 ! 90 X_41:bat[:str] := bat.append(X_34:bat[:str], "id":str); 90
95 X_35:bat[:str] := bat.append(X_28:bat[:str], "int":str); 95 ! 91 X_43:bat[:str] := bat.append(X_35:bat[:str], "int":str); 91
96 X_37:bat[:int] := bat.append(X_29:bat[:int], 32:int); 96 ! 92 X_45:bat[:int] := bat.append(X_36:bat[:int], 32:int); 92
97 X_39:bat[:int] := bat.append(X_31:bat[:int], 0:int); 97 ! 93 X_47:bat[:int] := bat.append(X_38:bat[:int], 0:int); 93
98 sql.resultSet(X_32:bat[:str], X_34:bat[:str], X_35:bat[:str], X_37:bat[:int], X_39:bat[:int], X_23:bat[:int]); 98 ! 94 sql.resultSet(X_39:bat[:str], X_41:bat[:str], X_43:bat[:str], X_45:bat[:int], X_47:bat[:int], X_30:bat[:int]); 94
99 end user.s6_1; 99 95 end user.s6_1; 95