aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/action/eval_each_input_table.sql
blob: 45514cb5126fdfcb613c25297d3c5d8740519fdf (plain) (blame)
1
2
3
4
5
6
7
8
9
/* postgres can not */
/* syntax version 1 */
use plato;

$a = ListMap(ListFromRange(0,2), ($_x)->(CAST(Unicode::ToUpper("i"u) AS String) || "nput"));
select count(*) FROM each($a view raw);

$a = ListMap(ListFromRange(0,1), ($_x)->(CAST(Unicode::ToUpper("i"u) AS String) || "nput"));
select count(*) FROM each_strict($a);