Skip to content

On running "edr report", getting [TEMP_VIEW_NAME_TOO_MANY_NAME_PARTS] error #1895

Open
@sonamkush229

Description

@sonamkush229

Describe the bug
When I run "edr report", I get the following error:

{"exc": "Database Error\n Database Error\n \n [TEMP_VIEW_NAME_TOO_MANY_NAME_PARTS] CREATE TEMPORARY VIEW or the corresponding Dataset APIs only accept single-part view names, but got: xxxx.xxxx.ordered_test_results__tmp_20250411133400890570. SQLSTATE: 428EK\n == SQL (line 5, position 5) ==\n create or replace temporary view xxxx.xxxx.ordered_test_results__tmp_20250411133400890570 as\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n \n ^^^^^^\n with test_results as (\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n \n ^^^^^^^^^^^^\n with elementary_test_results as (\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n select * from xxxx.xxxx.`elementary_test_results

To Reproduce
Steps to reproduce the behavior:

  1. Add - package: elementary-data/elementary in the packages.yml file
  2. Run "dbt deps"
  3. Run "dbt run --select elementary"
  4. Run "dbt test"
  5. Run "edr report"

Expected behavior
The command should read from the Elementary tables, and generate the report as an HTML file.

Environment (please complete the following information):

  • Elementary CLI (edr) version: 0.18.1
  • Elementary dbt package version: 0.18.2
  • dbt version you're using: 1.9.3
  • Data warehouse and version of adapater: Databricks/1.9.7

Additional context
Tried downgrading to elementary 0.17.0 but still faced the same issue.

Would you be willing to contribute a fix for this issue?
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions