add conjunct slotref id to table function node to avoid result incorrect
Problem describe: follow SQL return wrong result: WITH example1 AS ( select 6 AS k1 ,'a,b,c' AS k2) select k1, e1 from example1 lateral view explode_split(k2, ',') tmp as e1; Wrong result: +------+------+ | k1 | e1 | +------+------+ | 0 | a | | 0 | b | | 0 | c | +------+------+ Correct result should be: +------+------+ | k1 | e1 | +------+------+ | 6 | a | | 6 | b | | 6 | c | +------+------+ Why? TableFunctionNode::outputSlotIds do not include column k1. Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
* table function node enhancement * also avoid copy for non-vec table function node * fix table function node output slots calculation while lateral view involves subquery Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
1. add dryRun option to list tests 2. group all cases into p0 p1 p2