JackieTien97 opened a new pull request, #16946: URL: https://github.com/apache/iotdb/pull/16946
This pull request adds support for retrieving the actual file length of OBJECT-type columns in the `Record` interface and its implementations. It introduces a new `objectLength(int columnIndex)` method, ensures its implementation in relevant classes, and updates tests to verify the new functionality. **API Enhancements:** * Added a new method `objectLength(int columnIndex)` to the `Record` interface to return the length of an OBJECT-type column's underlying file. **Implementation Updates:** * Implemented the new `objectLength` method in `Slice`, including type checking and delegation to `ObjectTypeUtils.getObjectLength`. * Implemented the new `objectLength` method in `RecordIterator`, with similar logic for type safety and binary extraction. **Testing:** * Updated `RecordObjectTypeTest` to assert that `objectLength` returns the expected value for OBJECT columns. -- 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]
