Noos
PT EN
RAN-DBDEA-00225
Ranvier · DBDEA

Prova DBDEA Tópicos: transformation Dificuldade: medium A questão está em en.

Marketing asks the data team for a very specific list: every registered customer who did not place a single order in October. The relevant tables are catalog.sales.customers, with one row per customer, and catalog.sales.orders, with many rows per order. The engineer wants a single PySpark join call that returns exactly those customers and nothing else. Which join type should the engineer use?

Alternativas (Modo Leitura) Clique para filtrar a discussão →
  1. A. 'left_semi', which returns the customers whose key has no match among the orders
  2. B. 'left_anti', which returns the customers whose key has no match among the orders
  3. C. No native join type can do this; it must be emulated with a LEFT JOIN plus a filter for NULLs on the right side
  4. D. 'left_anti', which deletes the matching order rows from the orders table so that the customers appear unmatched
Revelar gabarito

Resposta correta: 'left_anti', which returns the customers whose key has no match among the orders

Referência: https://docs.databricks.com/aws/en/pyspark/reference

02 — Camada de Mielina · Discussão Canônica

Onde a prova tenta te enganar — e como quem passou resolveu.

0 Aprovados

contribuíram nesta questão

Matriz de Dissecção de Alternativas Clique numa alternativa para filtrar ou inaugurar a dissecção.
✦ Síntese Consolidada (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Inaugurar síntese desta questão →

Ainda não há síntese comunitária consolidada para esta questão. Abaixo está o ponto de partida oficial verificável — se você passou na prova, inaugure a dissecção das alternativas.

Gabarito Oficial (B): 'left_anti', which returns the customers whose key has no match among the orders

Ranvier · DBDEA

Contribuir com a Questão

Sua contribuição constrói sua Bainha Orbital

Contribuições dos pares

Nenhuma contribuição pública ainda. Seja o primeiro aprovado a explicar por que as alternativas incorretas enganam — sua contribuição constrói sua Bainha Orbital.