Conversation
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
|
I added some TODOs and concerns, could you take a look at the most recent commit @gatesn? |
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
|
|
||
| // TODO(connor): Figure out what this should look like. | ||
| // mod plugin; | ||
| // pub use plugin::ExtScalarValuePlugin; |
There was a problem hiding this comment.
I think in this case it's weird, we only need one Plugin for the ExtVTable, not one for DType and one for Scalar.
There was a problem hiding this comment.
I still dont actually understand what the plugin is for even after reading the doc comment
There was a problem hiding this comment.
The "plugin" is the thing that lives on the session. It's what allows us to deserialize things into in-memory objects. We lookup the plugin by ID, then call its deserialize function.
It basically encapsulates extension dtype behavior that doesn't have an instance object to operate on.
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
|
So I decided to keep the |
|
I am still concerned about some of the trait impls on |
Your instinct is correct! But we can do that in the future. We should do it alongside arrays so we can define the vectorized version of this at the same time, otherwise scalar and array semantics would differ. |
Merging this PR will not alter performance
Comparing Footnotes
|
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
f487143 to
6348fca
Compare
Summary
Tracking Issue: #6618
Adds methods related to extension scalars to the
ExtVTable.This then required updating existing implementors of
ExtVTable(only datetime and mock extension test types).I think this is a nice step before the much more intrusive change to
ScalarValuewhere we add theExtensionvariant.API Changes
This is a breaking change to
ExtVTable.Testing
TODO