Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Query Engine Basics | Query Engine Basics
/
BigQuery Fundamentals

bookQuery Engine Basics

Deslize para mostrar o menu

Note
Modern Practice

In the video and course examples, you will see the JSON_EXTRACT function. While this function is fully supported and works correctly, it is considered legacy syntax in BigQuery.

For your own future projects, we recommend using the modern standard functions:

  • JSON_VALUE: extracts scalar values (like strings or numbers) and removes extra quotes automatically;
  • JSON_QUERY: extracts complex JSON objects or arrays.

Get acquainted with the table used throughout the lesson and discover how BigQuery executes queries internally. Focus on uploading CSV data and analyzing query behavior using execution graphs to better understand performance and cost.

You start by uploading a CSV file through the BigQuery web interface. The process is straightforward: select Local File, enable Autodetect, and complete the upload. BigQuery automatically infers the schema and prepares the data for querying.

Every time a query runs, BigQuery generates an execution graph. This graph visually represents how data moves through different processing stages, such as filtering, joins, and aggregations.

Execution graphs make it easy to identify where query time and cost are concentrated. Complex queries are broken into multiple nodes and paths, showing how BigQuery executes operations in parallel to improve efficiency. This visibility makes execution graphs a powerful tool for query optimization.

Discover the JSON_EXTRACT function to retrieve specific values from JSON objects using path notation, such as $.product.id. This is especially useful when working with nested data structures commonly found in event data or ecommerce datasets.

Combining execution graph analysis with functions like JSON_EXTRACT helps you write more efficient, scalable queries while maintaining control over performance and cost.

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 1

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Seção 2. Capítulo 1
some-alt