Replies: 1 comment
-
Another problem is that when downcasting the vector, the actually vector may be a constant vector and unable to be handled by the ScalarVector trait. So to downcast the vector correctly, we may need to check the physical type of the vector (if constant is not a physical type, we also need to check whether the vector is const first) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some Ideas about the vectors mod
logical type and physical type
We should allow the
Vector
has a logical type and a physical typeDateVector
,TimestampVector
could benefit from this, as we could update the logical data type of the underlyingPrimitiveVector
and then delegate all methods to itNullVector
could has a logical type of any data type, so we could easily create a null vector for other data typesBeta Was this translation helpful? Give feedback.
All reactions