提交 f71358a9 编写于 作者: D Daniel Gustafsson

Compare the tuplevalue in question rather than saving full output

Rather than storing the full 100kb string in the outfile (which adds
200kb for the header) and passing to diff instead compare the tuple
with the expected value and store the boolean result in the outfile
instead.

This shaves 1.25 seconds off the testsuite on my laptop but the
primary win is to shrink the size of the outfiles. Tests on Pulse
show consistently lower diff times.
上级 ce4e7376
......@@ -2801,9 +2801,9 @@ insert into qp_misc_jiras.tbl13491_h values (1, lpad('a', 100000, 'b'));
create table qp_misc_jiras.tbl13491_aocol with (appendonly=true, orientation=column) as select * from qp_misc_jiras.tbl13491_h distributed by (a);
truncate table qp_misc_jiras.tbl13491_h;
\t off
select * from qp_misc_jiras.tbl13491_aocol;
select str = lpad('a', 100000, 'b') from qp_misc_jiras.tbl13491_aocol;
drop table qp_misc_jiras.tbl13491_h;
select * from qp_misc_jiras.tbl13491_aocol;
select str = lpad('a', 100000, 'b') from qp_misc_jiras.tbl13491_aocol;
drop table qp_misc_jiras.tbl13491_aocol;
-- start_ignore
drop function if exists test();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册