blob: 517f03c1cf6c901d0977b78a96392ecd5df3e660 (
plain) (
blame)
1
2
3
4
5
6
7
|
/* syntax version 1 */
$zones = CAST(ListMap(
ListFromRange(0us, 1000us),
($i) -> { RETURN AsStruct($i AS id, SUBSTRING(CAST(YQL::AddTimezone(CurrentUtcDate(), $i) AS String), 11, NULL) AS zone) }
) AS List<Struct<id:Uint16, zone:Utf8>>);
SELECT * FROM AS_TABLE($zones);
|