Noos
PT EN
RAN-DBDEA-00044
Ranvier · DBDEA

Exam DBDEA Topics: transformation Difficulty: easy

The bronze table catalog.web.bronze_search stores an ARRAY<STRING> column tags on each search event. For tag-level analytics, the silver table needs one row per (event_id, tag) pair — an event carrying three tags becomes three rows. ```sql SELECT event_id, /* expression */ AS tag FROM catalog.web.bronze_search ``` Which expression produces one row per array element?

Options (Reading Mode) Click to filter discussion →
  1. A. explode(tags)
  2. B. flatten(tags)
  3. C. collect_list(tags)
  4. D. array_distinct(tags)
Reveal answer

Correct answer: explode(tags)

Reference: https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-functions

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (A): explode(tags)

Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.