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

Update the remote APIs to take and send a Table #8521

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Dec 17, 2024

This allows the update APIs to now support multi-recording updates, and generally gives users more direct control over things like the column metadata, etc.

@jleibs jleibs added exclude from changelog PRs with this won't show up in CHANGELOG.md dataplatform Rerun Data Platform integration labels Dec 17, 2024
@jleibs jleibs marked this pull request as ready for review December 17, 2024 22:48
Copy link

github-actions bot commented Dec 17, 2024

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

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

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

@@ -68,4 +68,7 @@
This can be any numpy-compatible array of integers, or a [`pa.Int64Array`][]
"""

MetadataLike: TypeAlias = pa.Array
TableLike: TypeAlias = Union[pa.Table, pa.RecordBatch, pa.RecordBatchReader]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice we can make it generic over all these options.

let schema = arrow2::datatypes::Schema::from(schema);

let data = arrow2::chunk::Chunk::new(data);
// TODO(jleibs): This id name should probably come from `re_protos`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I was thinking about this yesterday and came to the same conclusion. We should put these rerun mandatory fields somewhere so that we can re-use on both sides)

@zehiko zehiko merged commit 84da132 into main Dec 18, 2024
38 checks passed
@zehiko zehiko deleted the jleibs/update-metadata-tables branch December 18, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataplatform Rerun Data Platform integration exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants