PCDE • Practice Test 16
Free PCDE practice test — 15 questions with explanations. Set 16. No signup required.
The query above fails with 'Resources exceeded: UDF out of memory' on a large table. What is the best way to fix this?
Refer to the exhibit. -- BigQuery SQL: CREATE TEMP FUNCTION normalize_json(json_str STRING) RETURNS STRING LANGUAGE js AS """ // Complex JavaScript transformation var obj = JSON.parse(json_str); // many operations... return JSON.stringify(obj); """; SELECT id, normalize_json(raw_json) AS normalized FROM `project.dataset.input`;