Replies: 2 comments
-
Could you please help me out with the above issue. I am stuck with this. |
Beta Was this translation helpful? Give feedback.
-
Please read the docs - this is not what the
Only you can answer that - what did you do with the
This is an image of you not using your debugger correctly - you have a
The best approach is to not store tables per session, instead use perspective wasm and serialize the dataset to the client (use a fire-and-forget perspective-to-arrow conversion if you want). What you're actually doing can still be managed quite easily by deleting the |
Beta Was this translation helpful? Give feedback.
-
I need to delete the perspective table in python as part of session clearing. But table.delete() function throws an error like this. 'Cannot delete a Table with active views still linked to it - call delete() on each view, and try again.' When I tried to list the views associated to table with table.view() function , its not giving the views but views are listed in table._views array. How can I get the views of a table and delete it one by one before the table.delete?
![Capture](https://user-images.githubusercontent.com/68993854/201392927-0440b502-f327-42bf-8348-ca7cfa9fb2c2.PNG)
Please find the below image for the error.
Also I want to know the best approach for session handling in perspective python API. How can we clear the tables stored in session on closing of web socket by each user? I want to delete tables in session for that particular user. Is it auto handled by perspective? If not Is there any user - table mapping info available? Please guide me with the best possible approach.
Beta Was this translation helpful? Give feedback.
All reactions