-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kedro Viz & DeltaTableDataset: Unable to get file size. Object has no attribute '_protocol' #1893
Comments
Hi @julio-cmdr, sorry for the slow reply. It's been a while, but do you think you could go back and give a full traceback of the error you get? Would help us understand how to fix it. |
Warning comes from here kedro-viz/package/kedro_viz/integrations/kedro/hooks.py Lines 151 to 160 in 9996c99
|
Hi @SajidAlamQB. |
Hi @SajidAlamQB , I was responsible for using the private method to get the file size in the stats hook. I would request you to check if there are any alternatives in determining the file size and also refactoring the stats hook to avoid using private attributes. Thank you |
Thank you, I have a PR that will attempt to fix this, #2174. |
In line with what @ravi-kumar-pilla asked, is there a way we can make this a public, optional behavior of datasets? For example, datasets now have a Notice that in #1714 a user suggested using |
Completed in: #2174 |
Description
Hello!
I'm using a pandas.DeltaTableDataset and I'm getting the warning:
Unable to get file size for the dataset DeltaTableDataset(...): 'DeltaTableDataset' object has no attribute '_protocol'
.I think this warning has been raised by kedro-viz.
After disabling auto-registered kedro-viz’ Hooks in settings.py, no further warnings are raised.
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: