JackieTien97 opened a new pull request, #16925: URL: https://github.com/apache/iotdb/pull/16925
This pull request introduces support for object data types and improves BLOB/object handling in the integration test framework, along with some minor configuration and utility enhancements. The most significant changes are the addition of a comprehensive integration test for object queries, the implementation of object limit configuration, and the enhancement of BLOB retrieval in clustered result sets. **Object Data Type Support and Testing:** * Added a new integration test class `IoTDBObjectQueryIT.java` to verify object and BLOB column handling, including JDBC and session API behaviors, error cases, and correct value retrieval. **Configuration Enhancements:** * Added a `setRestrictObjectLimit(boolean)` method to the `CommonConfig` interface and its implementations (`MppCommonConfig`, `MppSharedCommonConfig`, `RemoteCommonConfig`), allowing tests to configure object limits in cluster environments. [[1]](diffhunk://#diff-adc438fd7a7c566e75afd7ed2abfb2d5ad8c2fc50be94494ecf3e08a48f52f29R214-R215) [[2]](diffhunk://#diff-23c2f46d3f95c9657dfdfea7a831bc188434ae54e1a27673ece516f9191465b9R654-R659) [[3]](diffhunk://#diff-b5a127ee0fa55d5aebb2f2273bf9bf5593fba6b976fbddf28d9cdd78792e5600R687-R693) [[4]](diffhunk://#diff-56cb005d9e09edb5ba3657ca3926c0eff3bed5cb7e93a617dbd242d867d0a1acR480-R484) **Test Framework Improvements:** * Implemented the `getBlob(int)` and `getBlob(String)` methods in `ClusterTestResultSet` to aggregate and compare BLOB results across multiple result sets, replacing the previous unsupported operation. [[1]](diffhunk://#diff-d15f055a15e1c5eb9edb0020ed41a2589a07c90d64110687cc3c867e922f9723L784-R789) [[2]](diffhunk://#diff-d15f055a15e1c5eb9edb0020ed41a2589a07c90d64110687cc3c867e922f9723L809-R818) **Utility and Minor Fixes:** * Added a utility method `getDataNodeObjectDir()` in `DataNodeWrapper` to retrieve the object directory path for a data node. * Updated example usage in `TableModelSessionPoolExample.java` to insert a `null` value for the `plant_id` column. -- 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]
