-
Notifications
You must be signed in to change notification settings - Fork 385
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
Make Box
/AssetVideo
/ViewCoordinates
/Asset3D
eager serialized in Rust
#8785
Conversation
Latest documentation preview deployed successfully.
Note: This comment is updated whenever you push a commit. |
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12927429189 |
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.
neat
.downcast_ref::<arrow::array::ListArray>() | ||
.expect("Video blob data is not a ListArray"); |
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.
Bit unfortunate to risk a panic in a method that already returns a result anyhow?
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.
agreed, but the problem is that re_video::VideoLoadError
ofc knows nothing about any kind of arrow shenanigans we might be dealing with, which means I'd need to change the error type here or leak things into video load error
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.
You can always have an escape hatch like:
#[error(transparent)]
Other(#[from] anyhow::Error),
🤷♂️
Related
Pinhole
archetype in Rust eager serialized #8789What
View coordinates comes with some slight api breakage since we can no longer offer constants for the different orientations.
After this, the only archetypes that haven't migrated are: