<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/e57a163ecd8c4b15af0959fb0b4ab3eb&quot; frameborder=&quot;0&quot; width=&quot;1280&quot; height=&quot;960&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>960</height><width>1280</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>960</thumbnail_height><thumbnail_width>1280</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/e57a163ecd8c4b15af0959fb0b4ab3eb-00001.gif</thumbnail_url><duration>241.49999999999994</duration><title>Investigating a Failing DBT Test Part 2: Run the test SQL and find the duplicates</title><description>In this video, I continue from the previous one where we found the SQL and Jupyter. Now, we will run that SQL in BigQuery to understand the issue with the failing rows. I copy-paste the SQL into the BigQuery console and run it. The results show that there are 38 keys with duplicate values, but this is not enough to investigate meaningfully. I explain that dbt tests are generic and may require writing our own SQL. I demonstrate how to identify and left join the duplicates back onto the table to get more context. Join me as we investigate the failing rows in BigQuery.</description></oembed>