-- set schema 't';

select '(1,2,3,4,5,6,7)'::yorder;
select yflow_status('[(100,10,3,1,4,1,1),(101,11,4,1,5,1,1),(102,12,5,1,3,1,1)]'); --3 draft
select yflow_status('[(100,10,3,1,4,1,1),(101,11,4,1,5,1,0),(102,12,5,1,3,1,1)]'); --4 empty
select yflow_dim('[(100,10,3,1,4,1,1),(101,11,4,1,5,1,0),(102,12,5,1,3,1,1)]'); --3
