To merge Sales with ExceptionRecords in Dataflow Gen2 such that Sales excludes any records found in ExceptionRecords while preserving query folding, which applied steps should you use?

Prepare for the Fabric Analytics Engineer Associate Test with comprehensive materials. Explore flashcards, multiple choice questions, and detailed explanations. Get ready for your success!

Multiple Choice

To merge Sales with ExceptionRecords in Dataflow Gen2 such that Sales excludes any records found in ExceptionRecords while preserving query folding, which applied steps should you use?

Explanation:
Using a left anti join is the right approach because it returns only rows from the left table (Sales) that have no matching row in the right table (ExceptionRecords). This directly filters out any Sales records that appear as exceptions, giving you a Sales dataset with all problematic records excluded. After performing that merge, expanding columns is used to shape the final output by bringing in the needed fields from the left side (Sales) so you preserve the essential data in the result. This combination also tends to preserve query folding, letting the engine translate the steps back to an efficient source query. Other options don’t achieve the goal: an inner join would keep records that exist in both tables (not exclude them), and a right anti join would keep rows from the right side that have no left match (the opposite of what you want). Omitting or removing the expand step would fail to present the desired fields from Sales in the output.

Using a left anti join is the right approach because it returns only rows from the left table (Sales) that have no matching row in the right table (ExceptionRecords). This directly filters out any Sales records that appear as exceptions, giving you a Sales dataset with all problematic records excluded.

After performing that merge, expanding columns is used to shape the final output by bringing in the needed fields from the left side (Sales) so you preserve the essential data in the result. This combination also tends to preserve query folding, letting the engine translate the steps back to an efficient source query.

Other options don’t achieve the goal: an inner join would keep records that exist in both tables (not exclude them), and a right anti join would keep rows from the right side that have no left match (the opposite of what you want). Omitting or removing the expand step would fail to present the desired fields from Sales in the output.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy