2023-10-05 kernel meeting notes #47
zachschuermann
started this conversation in
General
Replies: 1 comment 3 replies
-
One of the follow ups from this is that @nicklan created a repo called |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
summary
POC from @nicklan to derisk C FFI (that we can entirely encapsulate C FFI unsafe behind rust trait). Discussion regarding constraints we must impose on C FFI implementors (e.g. keep pointers/memory live for pieces we require). UC discussion started - case: we want to read UC-managed tables from e.g. polars. Kernel does the delta side, but need to integrate with UC somehow.
action items from last time:
attendees
@rtyler @roeap @nicklan @MrPowers @zachschuermann @tdas
notes stream
from @nicklan
unsafe
code in FFI layer or does it have to bubble up to e.g. Rust APISend
)Send
describes/implies ownership?Send
trait bound is useful (but have to communicate this to C side somehow)void * something
. in rust world, function pointers are'static
-> they are just code and never get freed, etc. Rust assume no crazy stuff going on.from @ryan-johnson-databricks
UC thread
prod.zach.table
->s3://bucket/table
translationscan_delta(prod.zach.table)
for UC-managed tablesaside: pointer to type T you can turn into reference. pointer is unsafe, reference is managed. unsafe cast from pointer to reference. (
from_raw
). to turn reference into_raw (into pointer). unwrap box (Box::into_inner
? unstable?)from @zachschuermann
scan.execute()
returns a vector? Why not iterator?Beta Was this translation helpful? Give feedback.
All reactions