You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.verified_stmt("SELECT * FROM users |> AGGREGATE GROUP BY EXTRACT(YEAR FROM o_orderdate)");
14727
+
dialects.verified_stmt("SELECT * FROM users |> AGGREGATE GROUP BY a, b");
14728
+
dialects.verified_stmt("SELECT * FROM users |> AGGREGATE SUM(c) GROUP BY a, b");
14729
+
dialects.verified_stmt("SELECT * FROM users |> AGGREGATE SUM(c) ASC");
14727
14730
14728
14731
// order by pipe operator
14729
14732
dialects.verified_stmt("SELECT * FROM users |> ORDER BY id ASC");
14730
14733
dialects.verified_stmt("SELECT * FROM users |> ORDER BY id DESC");
14731
14734
dialects.verified_stmt("SELECT * FROM users |> ORDER BY id DESC, name ASC");
14735
+
14736
+
// many pipes
14737
+
dialects.verified_stmt(
14738
+
"SELECT * FROM CustomerOrders |> AGGREGATE SUM(cost) AS total_cost GROUP BY customer_id, state, item_type |> EXTEND COUNT(*) OVER (PARTITION BY customer_id) AS num_orders |> WHERE num_orders > 1 |> AGGREGATE AVG(total_cost) AS average GROUP BY state DESC, item_type ASC",
0 commit comments