Skip to content

Commit 7d00ed5

Browse files
committed
Fix variable name from QUERY to query in restore_data.ipynb
1 parent 70e3755 commit 7d00ed5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

workspace/restore_data.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
},
2424
"outputs": [],
2525
"source": [
26-
"QUERY = \"\"\"\n",
26+
"query = \"\"\"\n",
2727
"## [Restore deleted dataset](https://docs.cloud.google.com/bigquery/docs/restore-deleted-datasets#restore_a_dataset)\n",
2828
"UNDROP SCHEMA httparchive.crawl;\n",
2929
"\"\"\"\n",
30-
"client.query(QUERY).result()"
30+
"client.query(query).result()"
3131
]
3232
},
3333
{
@@ -55,14 +55,14 @@
5555
},
5656
"outputs": [],
5757
"source": [
58-
"QUERY = \"\"\"\n",
58+
"query = \"\"\"\n",
5959
"## [Restore a table to a specific point in time](https://cloud.google.com/bigquery/docs/restore-tables#restoring_a_table_to_a_specific_point_in_time)\n",
6060
"CREATE TABLE httparchive.crawl_staging.pages_restored_20250804 AS\n",
6161
"SELECT *\n",
6262
"FROM httparchive.crawl.pages\n",
6363
" FOR SYSTEM_TIME AS OF TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 HOUR);\n",
6464
"\"\"\"\n",
65-
"client.query(QUERY).result()"
65+
"client.query(query).result()"
6666
]
6767
}
6868
],

0 commit comments

Comments
 (0)