-
Notifications
You must be signed in to change notification settings - Fork 384
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
Port TransportChunk
to arrow-rs
#8700
Conversation
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
dee88f0
to
3bb1a96
Compare
3bb1a96
to
84a06f4
Compare
.get(Self::CHUNK_METADATA_KEY_HEAP_SIZE_BYTES) | ||
.and_then(|s| s.parse::<u64>().ok()) | ||
} | ||
|
||
#[inline] | ||
pub fn schema(&self) -> ArrowSchemaRef { |
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.
These and some other methods (num_rows
, num_columns
, etc) are removed because we get them for free with Deref<Target = ArrowRecordBatch>
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12804220292 |
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12804360957 |
/// | ||
/// Only use this if you absolutely need a [`RecordBatch`] as this adds a lot of allocation | ||
/// overhead. |
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.
That comment still applies.
re_arrow2
toarrow
#3741This makes
TransportChunk
a wrapper around an arrowRecordBatch
.Future work
TransportChunk
and replace it with an extension trait onRecordBatch
RecordBatch
(adding a schema to the rows is basically free now)