Closed jaredx435k2d0 closed 1 year ago
https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/parser/models.py#L304
Looks like some janky behavior related to whatever is going on in the static parser / experimental parser code. They are pickling objects (we don't need to pickle anything because we are supposed to be running in one process) and using random sampling to randomly run their correctness tests or something on all the dbt projects in the wild. As far as I can gather. 🤷
I can find a way to patch that out or force the appropriate flag so we dont have to deal with that
Not really a fan of that kind of subtle sampling without it being better advertised. 🙅
@jaredx435k2d0
This has been addressed in latest release 0.11.16
🎉
Loving how much this project is charging ahead!
Was forced to be away from it for a while due to some fires to put out. Anxious to explore improvements and new features.
One thing I've always encountered (including on version 0.11.14) is getting:
TypeError: cannot pickle '_thread.RLock' object
randomly when trying to executeyaml refactor
.Traceback:
I usually just have to keep trying to execute and eventually it'll work. Sometimes I'll quit my terminal app and force quit Python from the Activity Monitor and this seems to work pretty reliably.