Hide
This patch prepares Arrow for the new RunLengthEncoded type. Since a run-length encoded scalar does not make any sense, the idea that this type cannot exist as a Scalar.
Scalar visitors currently use TypeTraits::ScalarType, which does not really make sense for RLE.
Implements a separate variant of VisitTypeInline, that should only visit types that can exist as scalar. Uses it in scalar code.
Show
This patch prepares Arrow for the new RunLengthEncoded type. Since a run-length encoded scalar does not make any sense, the idea that this type cannot exist as a Scalar.
Scalar visitors currently use TypeTraits::ScalarType, which does not really make sense for RLE.
Implements a separate variant of VisitTypeInline, that should only visit types that can exist as scalar. Uses it in scalar code.