Skip to content
Exercise · Partitioning and Big Tables · lesson 12 of 14

Exercise: old and new quarters

The check runs on the big coffee shop database. Before your code it puts every order into the table orders_q, with the same columns as orders. Its partitions are quarters: from orders_q_2024_1 to orders_q_2026_2, where the last digit is the quarter's number. Orders after June 30, 2026 lie in the default partition orders_q_other.