[fix](lateral_view) fix lateral view explode_split with temp table (#12643)
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>