| HideElements | ||||||||
|---|---|---|---|---|---|---|---|---|
|
Page_title
| Panel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Use Standard SQL At the beginning Google proposed a query language that called legacy SQL. This language was close to the classic SQL. Then Google decided to propose another language called standard SQL. This language is closer to SQL than legacy and allows generally more functionalities. Moreover this language is pushed by Google and Google won’t maintain 2 languages that’s why the first advice is use standard SQL For going further I invite you to read this page : https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sqlIf you uncheck the box in yellow you activate standard SQL Add a header in each planned query When a query is launched inside a program (dataflow, Apps script, python….) please add a header to describe the query. That's really important for log analysis and because the cost is directly linked on the database use. So its better if we can detect queries that are not used anymore. You can find the header description below :
| ||||||||||
Field | Description | |||||||||
project | The name of the project or program | |||||||||
program | Dataflow, apps script, python, datalab... | |||||||||
function | The name of the function | |||||||||
frequency | the frequency of the query | |||||||||
owner | owner of the program, could be a service account a user login into the tool | |||||||||
SQL | Legacy or standard | |||||||||
Link | filename or link if it’s a Google document |
|
Execution logs
BigQuery


