aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/file/second_pass_parse_file_fail.sql
blob: 14980696a4663e83baa28bef133bd1a54b01bf6b (plain) (blame)
1
2
3
4
5
6
/* postgres can not */
/* custom error:The file iterator was already created. To scan file data multiple times please use ListCollect either over ParseFile or over some lazy function over it, e.g. ListMap*/
$list = ParseFile("int32","keyid.lst");
select ListExtend(
    ListMap($list, ($x)->{return $x + 1 }),
    ListMap($list, ($x)->{return $x + 2 }));