Preview & Details
The Preview tab lets you see sample rows without writing a query. It helps you understand what the data looks like before you spend time building SQL.
Preview is useful for asking:
- What does one row seem to represent?
- Are values written the way I expected?
- Are dates formatted consistently?
- Are categories coded as full words, abbreviations, or numbers?
- Do there seem to be missing values?
The Details tab gives table-level information. In the warm-up, learners use Details to find row count and disk size.
To inspect table details in the BigQuery web interface:
- Open BigQuery in the Google Cloud Console.
- Select the project in the Explorer panel.
- Open the dataset that contains your table.
- Click the table name.
- Open the Details tab.
- Look for table size or storage information.
- Locate the number of rows.
- Locate total logical bytes or table size.
A large row count tells you SQL is probably worth using. A large table size reminds you to start with LIMIT and test carefully.
The Details tab may also include last modified date, creation date, partitioning, clustering, expiration, or storage information. You do not need to master all of that yet. Start with row count, table size, and table description.
Learner action
Write table inspection notes:
One row appears to represent: [your answer] Row count: [your answer] Disk size or logical bytes: [your answer] Useful columns: [your answer] Possible missing fields or concerns: [your answer]
Preview : see real rows without spending bytes
The Preview tab pulls the first rows straight from storage. It does not run a query and does not cost anything. Use it to confirm that the values look like what the schema describes : that the date column actually has dates, that the state column is two-letter codes versus full state names, that a field marked NULLABLE actually has a lot of nulls.
Details : the Storage info section
The Details tab is where the table's totals live. Scroll to the Storage info section and you'll find:
- Number of rows : total row count for the table.
- Total logical bytes : the disk size of the table (divide by 1,073,741,824 to convert to GB).
- Last modified : when the table was last updated.
What to do right now
- Click Preview. Skim 10 rows. Note one thing that surprises you : an empty field, an unfamiliar code, an unexpected date range.
- Click Details. Scroll to Storage info. Write down Number of rows, Total logical bytes, and Last modified.
Previewing data tells you what's actually in a table. The events table has an attendees column. Let's find the events that were well-attended.
Action: Record your row count, disk size, and last-modified date in your running brief.