Caideyipi commented on PR #18828: URL: https://github.com/apache/iotdb/pull/18828#issuecomment-6307053947
Applied both findings in `faa5d5e5ed0`. 1. TsFile archival now preserves the source's relative directory structure, so `a/b.tsfile` and `a_b.tsfile` remain distinct in both success and failure archives. It checks the main file and existing sidecar destinations before processing the group, rejects occupied targets, and no longer uses `REPLACE_EXISTING` for copies, moves, or hard-link fallbacks. Archival errors propagate to the import result. 2. Table CSV header parsing now removes only the trailing type annotation and preserves whitespace and embedded parentheses in the column name. Added regression coverage for the colliding paths under copy/hard-link/move operations, existing main-file and sidecar conflicts without source-file loss, and typed/untyped CSV export-import round trips with a column containing spaces and parentheses. Validation: Spotless and CLI Checkstyle passed. `mvn -o test -pl iotdb-client/cli -Dtest=DataToolRegressionTest` passed all 21 tests, and the same command with `-P with-zh-locale` also passed all 21 tests. These runs used the PR's declared TsFile `2.4.1-260915-SNAPSHOT`. Full-reactor checks remain incomplete due to local memory limits: the English build failed with a JVM native-memory allocation error in Thrift compilation; the Chinese retry was stopped during DataNode Checkstyle with its capped 512 MB heap full. No live-cluster integration tests were run. -- 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]
