From 2651fbd461396ddfcbf6ef4617cb90b852c8c354 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Tue, 28 Jan 2025 09:59:13 -0500 Subject: [PATCH] test(athena): regen snapshots for first/last value (#10740) --- .../snapshots/test_sql/test_union_aliasing/athena/out.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/athena/out.sql b/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/athena/out.sql index 1fc154ad6a68..da950f94d1b1 100644 --- a/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/athena/out.sql +++ b/ibis/backends/tests/snapshots/test_sql/test_union_aliasing/athena/out.sql @@ -15,8 +15,8 @@ WITH "t5" AS ( "t2"."field_of_study", "t2"."years", "t2"."degrees", - ARBITRARY("t2"."degrees") OVER (PARTITION BY "t2"."field_of_study" ORDER BY "t2"."years" ASC ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS "earliest_degrees", - ARBITRARY("t2"."degrees") OVER (PARTITION BY "t2"."field_of_study" ORDER BY "t2"."years" ASC ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS "latest_degrees" + FIRST_VALUE("t2"."degrees") OVER (PARTITION BY "t2"."field_of_study" ORDER BY "t2"."years" ASC ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS "earliest_degrees", + LAST_VALUE("t2"."degrees") OVER (PARTITION BY "t2"."field_of_study" ORDER BY "t2"."years" ASC ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS "latest_degrees" FROM ( SELECT "t1"."field_of_study",