GitHub user CurtHagenlocher added a comment to the discussion: New assembly for 
scalar types

It does look possible to factor the JSON support out of `ParquetVariant`. Maybe 
that could move into the nascent `Apache.Arrow.Operations` assembly?

Here are the types I was thinking might eventually be in `Apache.Arrow.Scalars`:

- Variant types `VariantArrayBuilder`, `VariantBuilder`, `VariantMetadata`, 
`VariantMetadataBuilder`, `VariantObjectReader`, `VariantReader`, 
`VariantValue`.
- Interval types `DayTimeInterval`, `MonthDayNanosecondInterval`, 
`YearMonthInterval`
- `BinaryView` (not sure about this one)
- `Half` where the netstandard2.0 implementation would be a stub -- at least to 
begin with -- and the net8.0+ implementation would be type forwarded to the BCL 
type.
- `Int128` where the netstandard2.0 implementation would be a stub -- at least 
to begin with -- and the net8.0+ implementation would be type forwarded to the 
BCL type.
- `Int256`
- `BigDecimal` (a new arbitrary-precision type to better support decimal 
scenarios)

If we add the JSON support back, there would also be `VariantJsonConverter`, 
`VariantJsonReader` and `VariantJsonWriter`.

GitHub link: 
https://github.com/apache/arrow-dotnet/discussions/313#discussioncomment-16636599

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to