ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 283 - Professional Data Engineer discussion

Report
Export

You are building an ELT solution in BigQuery by using Dataform. You need to perform uniqueness and null value checks on your final tables. What should you do to efficiently integrate these checks into your pipeline?

A.
Build Dataform assertions into your code
Answers
A.
Build Dataform assertions into your code
B.
Write a Spark-based stored procedure.
Answers
B.
Write a Spark-based stored procedure.
C.
Build BigQuery user-defined functions (UDFs).
Answers
C.
Build BigQuery user-defined functions (UDFs).
D.
Create Dataplex data quality tasks.
Answers
D.
Create Dataplex data quality tasks.
Suggested answer: A

Explanation:

Dataform assertions are data quality tests that find rows that violate one or more rules specified in the query. If the query returns any rows, the assertion fails. Dataform runs assertions every time it updates your SQL workflow and alerts you if any assertions fail. You can create assertions for all Dataform table types: tables, incremental tables, views, and materialized views. You can add built-in assertions to the config block of a table, such as nonNull and rowConditions, or create manual assertions with SQLX for advanced use cases. Dataform automatically creates views in BigQuery that contain the results of compiled assertion queries, which you can inspect to debug failing assertions. Dataform assertions are an efficient way to integrate data quality checks into your ELT solution in BigQuery by using Dataform.Reference:Test tables with assertions | Dataform | Google Cloud,Test data quality with assertions | Dataform,Data quality tests and documenting datasets | Dataform,Data quality testing with SQL assertions | Dataform

asked 18/09/2024
Carlotta Agape
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first