ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 175 - Professional Data Engineer discussion

Report
Export

You have a query that filters a BigQuery table using a WHERE clause on timestamp and ID columns.

By using bq query ñ -dry_run you learn that the query triggers a full scan of the table, even though the filter on timestamp and ID select a tiny fraction of the overall dat a. You want to reduce the amount of data scanned by BigQuery with minimal changes to existing SQL queries. What should you do?

A.
Create a separate table for each ID.
Answers
A.
Create a separate table for each ID.
B.
Use the LIMIT keyword to reduce the number of rows returned.
Answers
B.
Use the LIMIT keyword to reduce the number of rows returned.
C.
Recreate the table with a partitioning column and clustering column.
Answers
C.
Recreate the table with a partitioning column and clustering column.
D.
Use the bq query - -maximum_bytes_billed flag to restrict the number of bytes billed.
Answers
D.
Use the bq query - -maximum_bytes_billed flag to restrict the number of bytes billed.
Suggested answer: C
asked 18/09/2024
Dan Yann
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first