Caideyipi opened a new pull request, #19026: URL: https://github.com/apache/iotdb/pull/19026
Adds a `Session.createMultiTimeseries` overload with a per-path `isAlignedList`, allowing one request to create time series across multiple aligned and non-aligned devices. SessionPool exposes the same overload. The existing non-aligned API remains compatible, and the new overload uses a separate RPC so older servers cannot silently ignore alignment flags. The server reuses `InternalCreateMultiTimeSeriesStatement` from the pipe snapshot execution path and checks the authenticated session's `WRITE_SCHEMA` permission for the complete batch before execution. It preserves aliases, tags, attributes, and non-aligned properties, and rejects inconsistent list sizes, duplicate paths, conflicting device alignment flags, and properties on aligned measurements. Validation: - Spotless with the `with-integration-tests` profile. - Remote unit tests: `SessionTest`, `SessionConnectionTest`, `SessionPoolTest`, and `StatementGeneratorTest` — 272 tests passed. - Full-reactor `verify -P with-integration-tests` with four selected `IoTDBSessionSimpleIT` methods — all four passed, covering the existing API, mixed alignment and metadata, batch authorization, and invalid requests. - Full-reactor `clean package -P with-integration-tests,with-zh-locale -DskipTests` — passed. Remote validation used Linux, JDK 17.0.15, Maven 3.9.12, and four reactor threads. Each locale used an isolated Maven repository with build caches disabled. TsFile `2.5.1-261023-SNAPSHOT` was rebuilt from source at `8f665d113dbb5257b901c528c31c8bc24da2a018` for each repository. All 11 newly added tests ran successfully remotely; no tests were run locally. The initial full-reactor `clean test` passed the 272 selected unit tests but stopped in distribution because upstream ZIP artifacts require the `package` phase. The subsequent full-reactor `verify` completed successfully. -- 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]
