Repository navigation
How to use fabricspark? #44
Unanswered
Oleksandr Petlevyi (petlevyi)
asked this question in
Q&A
Replies: 1 comment
|
hi, I think you might be missing Lakehouse name in your first model
you can make sure how dbt compiles and builds your tables in target/run and target/compile |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi
I try use fabricspark
dbt --version
Core:
installed: 1.9.4
latest: 1.9.4 - Up to date!
Plugins:
fabric: 1.9.5 - Up to date!
fabricspark: 1.9.0 - Up to date!
I successfully connect to az.
I create one model table
select * from existing_table_in_lakehouse
08:53:11 Concurrency: 1 threads (target='fabric')
08:53:11
08:53:11 Microsoft Fabric-Spark adapter: Using CLI auth
08:56:01 1 of 1 START sql table model md.my_first_dbt_model ..................... [RUN]
08:56:46 1 of 1 OK created sql table model md.my_first_dbt_model ................ [OK in 45.34s]
08:56:50
08:56:50 Finished running 1 table model in 0 hours 3 minutes and 39.11 seconds (219.11s).
I created second model as
{{ config(materialized='table') }}
select * from {{ ref('my_first_dbt_model') }}
But got an error
Field "type" of type Optional[RelationType] in FabricSparkRelation has invalid value Undefined
I can't really understand what this error means.
Could someone please suggest how to solve this problem?
All reactions