CritasWang opened a new pull request, #64:
URL: https://github.com/apache/iotdb-client-csharp/pull/64
## Summary
Ports the OBJECT data type write support from apache/iotdb-client-go#175 to
the C# client.
- Adds `TSDataType.OBJECT = 12` and `Client.GetDataTypeByStr("OBJECT")`
- Adds `Tablet.BuildObjectValue` / `SetObjectValueAt` with the
Java-compatible segment frame: `[1 byte isEOF][8 byte big-endian
offset][content]`, including null-bit clearing after overwriting a null cell
- Serializes OBJECT columns like BLOB in `EstimateBufferSize` /
`GetBinaryValues`
- Accepts OBJECT (and BLOB/STRING) in `BinaryArrayColumnDecoder`
- Returns `(Object) ...` size summaries from
`RpcDataSet.GetObject/GetString/GetRow` and rejects `GetBinary` for OBJECT
columns
## Tests
- New `tests/Apache.IoTDB.Tests/TabletObjectTests.cs` covers segment
framing, `GenInsertTabletReq` wire bytes, null bitmap behavior, and validation
- Extended `RpcDataSetTests` for OBJECT read semantics and `UtilsTests` for
size formatting
Verification: the solution builds; the full unit suite passes locally (59
tests) when run as net6:
`dotnet test tests/Apache.IoTDB.Tests -p:TargetFramework=net6.0 --no-restore`
Refs https://github.com/apache/iotdb-client-go/pull/175
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]