-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[ntuple] Add RPageStorage::Close #21030
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
base: master
Are you sure you want to change the base?
Conversation
to be used by the pythonization of RNTupleReader/Writer
vepadulano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is great! Two remaining comments from my side:
- It would be nice to add also a simple test for the reader and writer
- What happens if I call
reader.Close()and then somehow try to access it again? From the changes it's not immediately clear to understand if I get an error/info or there could be unexpected behaviour.
Test Results 22 files 22 suites 3d 11h 43m 37s ⏱️ For more details on these failures, see this check. Results for commit 115bcb0. |
pcanal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Rethinking about this, I now think this is not the best solution. As far as I see it, the I think the proper solution would be to do this purely on the Python side: in the @vepadulano @jblomer opinions on this? |
This Pull request:
adds a virtual
Closemethod toRPageStorage, to be used by pythonizations ofRNTupleReaderandRNTupleWriter.Also updates those pythonizations to use it.
Checklist: