Caideyipi opened a new pull request, #18117: URL: https://github.com/apache/iotdb/pull/18117
## Summary - Avoid redundant wide-table schema/category comparisons before `Tablet.append()` in pipe plain batching. - Keep only the cheap same-device precheck; `Tablet.append()` still validates schema/category compatibility. - Add a manual performance UT for the 100k-column tablet precheck case, skipped by default and enabled with a system property. ## Performance UT Default behavior, disabled/skipped: ```bash mvn -pl iotdb-core/datanode -am -Dtest=PipeTabletEventPlainBatchPerformanceTest -Dsurefire.failIfNoSpecifiedTests=false test ``` Manual performance run: ```bash mvn -pl iotdb-core/datanode -am -Dtest=PipeTabletEventPlainBatchPerformanceTest -Dsurefire.failIfNoSpecifiedTests=false -Diotdb.pipe.plain.batch.perf.enabled=true test ``` Result on my machine: ```text Wide-table tablet append precheck benchmark: columns=100000, iterations=1000, legacy=768.868 ms, optimized=0.340 ms, speedup=2264.71x ``` ## Tests - `mvn spotless:apply -pl iotdb-core/datanode` - `git diff --check` - `mvn -pl iotdb-core/datanode -am -Dtest=PipeTabletEventPlainBatchPerformanceTest -Dsurefire.failIfNoSpecifiedTests=false test` (skipped by default) - `mvn -pl iotdb-core/datanode -am -Dtest=PipeTabletEventPlainBatchPerformanceTest -Dsurefire.failIfNoSpecifiedTests=false -Diotdb.pipe.plain.batch.perf.enabled=true test` -- 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]
