Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Certified Data Engineer Professional topic 1 question 27 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 27
Topic #: 1
[All Certified Data Engineer Professional Questions]

A junior data engineer on your team has implemented the following code block.

The view new_events contains a batch of records with the same schema as the events Delta table. The event_id field serves as a unique key for this table.
When this query is executed, what will happen with new records that have the same event_id as an existing record?

  • A. They are merged.
  • B. They are ignored.
  • C. They are updated.
  • D. They are inserted.
  • E. They are deleted.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️


Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
3 weeks, 1 day ago
B. They are ignored. Because there is not mention so there is no WHEN statement for this condition
upvoted 1 times
4 months, 2 weeks ago
B is correct
upvoted 2 times
5 months, 2 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
8 months, 1 week ago
Selected Answer: B
upvoted 1 times
9 months ago
Selected Answer: B
The answer is correct. "If none of the WHEN MATCHED conditions evaluate to true for a source and target row pair that matches the merge_condition, then the target row is left unchanged." https://docs.databricks.com/en/sql/language-manual/delta-merge-into.html#:~:text=If%20none%20of%20the%20WHEN%20MATCHED%20conditions%20evaluate%20to%20true%20for%20a%20source%20and%20target%20row%20pair%20that%20matches%20the%20merge_condition%2C%20then%20the%20target%20row%20is%20left%20unchanged.
upvoted 3 times
Community vote distribution
A (35%)
C (25%)
B (20%)
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Loading ...