JackieTien97 opened a new pull request, #16109: URL: https://github.com/apache/iotdb/pull/16109
This pull request introduces a new configuration option for setting the DataNode memory proportion, updates related interfaces and test setups to use this option, and refines a utility import in the query engine code. The main changes add the new `setDataNodeMemoryProportion` method to configuration classes and update test classes to utilize this new setting, while also cleaning up a dependency in the `LastQueryScanNode` class. Configuration enhancements: * Added the `setDataNodeMemoryProportion` method to the `CommonConfig` interface and its implementations (`MppCommonConfig`, `MppSharedCommonConfig`, `RemoteCommonConfig`) to allow setting DataNode memory proportions programmatically. [[1]](diffhunk://#diff-adc438fd7a7c566e75afd7ed2abfb2d5ad8c2fc50be94494ecf3e08a48f52f29R175-R176) [[2]](diffhunk://#diff-23c2f46d3f95c9657dfdfea7a831bc188434ae54e1a27673ece516f9191465b9R541-R546) [[3]](diffhunk://#diff-b5a127ee0fa55d5aebb2f2273bf9bf5593fba6b976fbddf28d9cdd78792e5600R558-R564) [[4]](diffhunk://#diff-56cb005d9e09edb5ba3657ca3926c0eff3bed5cb7e93a617dbd242d867d0a1acR394-R398) Test setup updates: * Updated test classes (`IoTDBOrderByIT`, `IoTDBAsofJoinTableIT`) to use the new `setDataNodeMemoryProportion` method, ensuring that tests properly configure DataNode memory settings alongside existing query memory settings. [[1]](diffhunk://#diff-40758e0d92ca668db999b1be8c6215538a9e7de965497a11a478060b9913eabeL106-R107) [[2]](diffhunk://#diff-09ed468e95f2178f3c0847f0f1811b8cc02e1bd81d80f8ca774b2ce5ad644375L66-R74) Dependency cleanup: * Replaced usage of `StringUtil.isNotBlank` from Jetty with `StringUtils.isNotBlank` from Apache Commons Lang in `LastQueryScanNode`, and removed the unnecessary Jetty import. [[1]](diffhunk://#diff-011dc0dbdf4954592b058bec46c1053cbe3933734c8b60a64e338f49f7e0612cR34-L38) [[2]](diffhunk://#diff-011dc0dbdf4954592b058bec46c1053cbe3933734c8b60a64e338f49f7e0612cL261-R261) -- 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]
