Replies: 1 comment 1 reply
-
|
Thanks, are you able to share some logs/stack traces? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Sorry for my lack of knowledge, I would like to ask your help how to troubleshoot weakref finalizers errors and if possible to get some hints how to solve them. Or just some recommendation for a workaround or best practices.
I wrote a (quite) long ibis script transforming and combining different tables (backend: snowflake, but most probably this is irrelevant). This script is running fine, without any errors.
But when I tried to split up this long “spaghetti” code in smaller chunks, writing a separate function for each (bigger) transformation step (having as argument one or more ibis tables and returning an ibis table) there where multiple and random weakref errors generated.
I tried to implement a similar code structure:
In my case it looks that these were just “irrelevant” errors, as the end result was ok.
I am reluctant to ignore totally these errors, because sometimes it can be a valid error. And if I understand well these cannot be handled simply by using the default (try except) error handling.
I was using: python 3.11, ibis-framework 10.8.0 and 11.0.0, snowflake-connector-python 3.18.0 and 4.0.0
Beta Was this translation helpful? Give feedback.
All reactions