dbt-databricks icon indicating copy to clipboard operation
dbt-databricks copied to clipboard

Bug: Delta Clones unsupported by `DatabricksRelationType`

Open ShaneMazur opened this issue 2 years ago • 2 comments

Describe the bug

Sources do not have support for Databricks clones in DatabricksRelationType

Steps To Reproduce

I've encountered this issue in a few places but most recently using the dbt-labs/dbt-codegen package. Specifically:

dbt run-operation generate_source --args '{
        "schema_name": "my_schema",
        "database_name": "my_source"
    }'

Expected behavior

Should return correct source definition yaml

Screenshots and log output

Screenshot 2024-03-01 at 4 48 14 PM

ShaneMazur avatar Mar 01 '24 21:03 ShaneMazur

Interesting. Do you have a dbt.log that can provide the stack so I know where the exception is raised?

benc-db avatar Mar 04 '24 17:03 benc-db

Can you try 1.7.9 and let me know if you still have this issue? I removed one place that raises an exception, but uncertain if its the same issue you're hitting.

benc-db avatar Mar 06 '24 18:03 benc-db