tustvold commented on code in PR #2915:
URL: https://github.com/apache/arrow-rs/pull/2915#discussion_r1003656116
##########
arrow-data/src/transform/mod.rs:
##########
@@ -637,6 +637,18 @@ impl<'a> MutableArrayData<'a> {
unsafe { self.data.freeze(self.dictionary).build_unchecked() }
}
+ /// Creates a [ArrayData] from the pushed regions up to this point,
consuming `self`,
+ /// with the provided dictionary values `ArrayData`, without any validation
+ ///
+ /// # Safety
+ ///
+ /// As this doesn't validate the provided dictionary `ArrayData` values,
the input
Review Comment:
I'm not sure that is correct -
https://github.com/apache/arrow-rs/blob/master/arrow-data/src/transform/mod.rs#L499
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]