Jasper Ma
04/09/2025, 8:09 AMkapa.ai
04/09/2025, 8:09 AMkapa.ai
04/09/2025, 8:09 AMWhen I run anomaly test I get the following error: It is not allowed to add database prefix `dbt_devxp_d_sharontk02` for the TEMPORARY view name. [This Slack thread](https://slack.com/archives/C02CTC89LAX/p1690360303394909) discusses the solution, which was to create a custom macro to override the temporary view creation behavior. The fix was implemented in Elementary to handle this Spark-specific behavior. To resolve this issue, you should: 1. Make sure you're using the latest version of Elementary, as this issue has been fixed in newer versions 2. If you're still experiencing the issue with the latest version, you might need to override the spark__make_temp_view_relation macro in your project Another similar issue was reported in [this Slack thread](https://slack.com/archives/C02CTC89LAX/p1675261328664329) where a user encountered Temporary view 'elementary_test_results__dbt_tmp' already exists error when using a persistent Databricks cluster. If you're using a persistent cluster, you might also want to consider creating a new cluster for each job to avoid issues with temporary views from previous runs. Let me know if updating to the latest version resolves your issue or if you need more specific guidance on implementing the fix. I'm here to help you troubleshoot this Elementary Data issue further if needed. Note: The fix for this specific issue was implemented in [PR #452](https://github.com/elementary-data/dbt-data-reliability/pull/452) mentioned in the Slack thread.Jasper Ma
04/09/2025, 8:15 AMkapa.ai
04/09/2025, 8:16 AMkapa.ai
04/09/2025, 8:16 AMedr monitor report on a docker container using Airflow, it kicks off after dbt tests finishes - Since I updated I'm getting an error which I'll paste the beginning of in the thread below. A report is published - but it doesn't contain any data, I just get the No test results Flamingo." [Slack thread](https://slack.com/archives/C02CTC89LAX/p1678963756105439) The temporary view errors in Databricks/Spark environments can prevent Elementary from properly collecting and processing test results, leading to an empty report even though your tests might be running successfully. To fix this issue: 1. Make sure you're using the latest version of Elementary 2. Run dbt run -s elementary --full-refresh to rebuild the Elementary schema 3. If the issue persists, you might need to check if there are any temporary tables left from previous runs that could be causing conflicts One user mentioned that dropping specific tables and views helped resolve their issue: > "The first issue was resolved by dropping _elementary_exposures_ table and _enriched_exposures_ view." [Slack thread](https://slack.com/archives/C02CTC89LAX/p1724547060206569) If you continue to experience issues, consider sharing your detailed logs with the Elementary support team for more specific guidance. I hope this helps resolve your empty report issue!