CritasWang opened a new pull request, #25:
URL: https://github.com/apache/iotdb-client-nodejs/pull/25

   ## Summary
   
   Ports the OBJECT data type write support from apache/iotdb-client-go#175 to 
the Node.js client.
   
   - Adds `TSDataType.OBJECT = 12` and `getDataTypeName` support
   - Adds `TableTablet.buildObjectValue` / `setObjectValueAt` with the 
Java-compatible segment frame: `[1 byte isEOF][8 byte big-endian 
offset][content]`
   - Serializes OBJECT columns as BLOB-like length-prefixed binary in both the 
legacy and fast tablet paths
   - Decodes OBJECT columns from TsBlock results as `(Object) ...` size 
summaries
   
   ## Tests
   
   - New `tests/unit/TableTabletObject.test.ts` mocks the Thrift client and 
verifies `TSInsertTabletReq` types, value bytes, timestamps, and null bitmaps
   - Extended `tests/unit/DataTypes.test.ts` and 
`tests/unit/TabletSerialization.test.ts` for formatting, serialization parity, 
and TsBlock decoding
   
   Verification: `npm run build` passes; `npm run test:unit` passes (189 tests).
   
   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]

Reply via email to