Partition a table
Split a large table into parts by a column, usually a date, so queries only read the parts they need.
Try this
Partition samples.daily_sales by month of date.
Your assistant may word its answers differently each time; the numbers come from your tables.
Sort a big table into drawers
What is it?
Imagine a filing cabinet with one drawer for each month. To find March, you open only March.
How does it work?
You pick the column to sort by, often a date. Later questions only open the drawers they need.
Good to know
This is for large tables. On a small one you will not notice any difference.
Before you start
Load the sample data first. It is step 1 on the Data Lake quickstart page.
Make it yours
Your assistant needs the real names. Replace the table and column names in the prompt above with yours. If you are not sure of them, ask first: "Describe my table called orders."
Then ask
Each question builds on the last answer. Ask follow-ups in plain words.
"How is samples.daily_sales partitioned now?"