[v2 Bug] Could not load fusion-produced manifest
- Dominant language
- Rust
- Stars
- 13.8k
- Forks
- 2.6k
- Avg merge
- 21h 31m
- Merged PRs (30d)
- 56
Description
### Is this a new bug in dbt v2.x compared to the latest version of dbt 1.x?
- [x] I believe this is a new bug in dbt v2.x
- [x] I have searched the existing issues and could not find a duplicate
### Current Behavior
I'm on versions:
```
dbt-core==1.12.3
dbt-databricks==1.12.5
```
I tried the v2 parser and now I get this failure "Could not load fusion-produced manifest"
That temp folder mentioned in the error is gone as soon as the command is complete so how do I figure out which model this error is related to?
### Expected Behavior
It shouldn't fail.
### Steps To Reproduce
Run a `dbt parse` and I get:
```
10:53:30 Running with dbt=1.12.3
10:53:50 Delegating parse to v2 parser: dbt-core-experimental-parser parse
dbt-core 2.0.0-rc.1
Loading profiles.yml
Finished [ 0.18s] resolving packages from packages.yml (4 items)
=================================================== Execution Summary ===================================================
Finished 'parse' successfully for target 'developer' [13.2s]
10:54:04 v2 parser failed after 14.11s (FusionParserSchemaError, exit_code=-1)
10:54:04 [ERROR]: Encountered an error:
Runtime Error
Could not load fusion-produced manifest at C:\Users\username~1\AppData\Local\Temp\dbt-fusion-dh1ortjc\manifest.json: Runtime Error
Could not read WritableManifest at "C:\Users\username~1\AppData\Local\Temp\dbt-fusion-dh1ortjc\manifest.json" as JSON:'charmap' codec can't decode byte 0x8d in position 8367478: character maps to
```
### Relevant log output
```shell
10:54:03.782252 [info ]: Finished parsing [ 12.53s]
10:54:04.141432 [info ]:
==================== Execution Summary =====================
Finished 'parse' successfully for target 'developer' [13.2s]
[0m05:54:04.311431 [error] [MainThread]: v2 parser failed after 14.11s (FusionParserSchemaError, exit_code=-1)
[0m05:54:04.311431 [error] [MainThread]: [[31mERROR[0m]: Encountered an error:
Runtime Error
Could not load fusion-produced manifest at C:\Users\username~1\AppData\Local\Temp\dbt-fusion-dh1ortjc\manifest.json: Runtime Error
Could not read WritableManifest at "C:\Users\username~1\AppData\Local\Temp\dbt-fusion-dh1ortjc\manifest.json" as JSON: 'charmap' codec can't decode byte 0x8d in position 8367478: character maps to
[0m05:54:04.311431 [debug] [MainThread]: Command `dbt parse` failed at 05:54:04.311431 after 34.44 seconds
[0m05:54:04.311431 [debug] [MainThread]: Flushing usage events
```
### Environment
```markdown
- OS: Windows
- CPU: x86
- dbt distribution and version:
Core:
- installed: 1.12.3
- latest: 1.12.3 - Up to date!
Plugins:
- databricks: 1.12.5 - Up to date!
```
### Which database adapter are you using?
databricks
### Is this a discrepancy vs. dbt 1.x?
- [x] Yes — this works in dbt 1.x but not in dbt v2.x
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.