Skip to content
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 Archetype::{from_arrow, to_arrow} and friends tag compliant #8644

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Jan 10, 2025

These methods were still ComponentName-based, which just won't work as we start introducing archetypes with multiple instances of the same component.

Note that these methods are very seldom used (only for tests, IIRC), so I went for the path of least resistance and took a few shortcuts.
We can build something sturdier later on if need be (I highly doubt it... in fact I expect these methods don't have that much time left to live).

Copy link

github-actions bot commented Jan 10, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
1ecedd4 https://rerun.io/viewer/pr/8644 +nightly +main

Note: This comment is updated whenever you push a commit.

@teh-cmc teh-cmc marked this pull request as ready for review January 10, 2025 16:09
@teh-cmc teh-cmc added 🦀 Rust API Rust logging API do-not-merge Do not merge this PR codegen/idl exclude from changelog PRs with this won't show up in CHANGELOG.md labels Jan 10, 2025
@emilk emilk self-requested a review January 10, 2025 17:39
@teh-cmc teh-cmc force-pushed the cmc/eager_partial_1_descriptor_methods branch from 404b22f to 1404c21 Compare January 13, 2025 08:19
Base automatically changed from cmc/eager_partial_1_descriptor_methods to main January 13, 2025 08:19
@teh-cmc teh-cmc force-pushed the cmc/eager_partial_2_tagged_from_to_arrow branch from 1ecedd4 to 13926a3 Compare January 13, 2025 08:20
@teh-cmc teh-cmc merged commit 07ca851 into main Jan 13, 2025
7 of 8 checks passed
@teh-cmc teh-cmc deleted the cmc/eager_partial_2_tagged_from_to_arrow branch January 13, 2025 08:20
@teh-cmc teh-cmc removed the do-not-merge Do not merge this PR label Jan 13, 2025
teh-cmc added a commit that referenced this pull request Jan 13, 2025
This introduces a new `attr.rust.archetype_eager` codegen attribute.
When toggled, the associated archetype will now only carry raw Arrow
data around, and go through the new eager logging APIs.

The attribute has been set on `Points3D`:

![image](https://github.com/user-attachments/assets/cb520e0c-5160-4ff6-b6a3-4bf10b4ac045)

Legacy and eagerly-serialized archetypes can co-exist, making it
possible to migrate everything incrementally.

* DNM: requires #8644 
* Part of #7245
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen/idl exclude from changelog PRs with this won't show up in CHANGELOG.md 🦀 Rust API Rust logging API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants