JackieTien97 opened a new pull request, #19010:
URL: https://github.com/apache/iotdb/pull/19010

   ## Description
   
   The generic unordered SQL test helper always opens a tree-model connection. 
Rename it to `treeResultSetEqualTestUnordered` and add 
`tableResultSetEqualTestUnordered` with optional database selection.
   
   Both helpers document that the shared assertion uses 
`ClusterTestResultSet.getNodeResultSets` to read each DataNode's underlying 
result set. This bypasses the default cross-node row-by-row comparison while 
preserving headers, values, and duplicate counts. Update the IT guide and 
callers, and exercise the table helper with both a selected database and fully 
qualified table names without `USE`.
   
   ## Validation
   
   - Spotless and `git diff --check` passed.
   - Targeted clean reactor verification passed with ClusterIT and 
HighPerformanceMode (1 ConfigNode, 3 DataNodes): **8 tests, 0 failures, 0 
errors, 0 skipped**.
   - Coverage includes the tree-model GROUP BY TAGS case, the table-model UNION 
ALL case with duplicate rows/null values and both database options, and all six 
deterministic result-set regression cases.
   
   ```bash
   mvn -o clean verify -pl integration-test -am \
     -PClusterIT,with-integration-tests -DskipUTs \
     
'-Dit.test=IoTDBTimeDurationIT#testTimeDurationManyColumnOnManyDataRegion,IoTDBCollectFanInIT#testUnorderedUnionPreservesEveryDuplicateOnEachNode,IoTDBClusterResultSetIT'
 \
     -DClusterConfigurations=HighPerformanceMode \
     
'-DintegrationTest.includedGroups=org.apache.iotdb.itbase.category.ClusterIT,org.apache.iotdb.itbase.category.TableClusterIT'
 \
     -DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false
   ```
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] updated documentation and Javadocs for the helper behavior.
   - [x] modified existing integration tests and been tested in a test IoTDB 
cluster.
   
   


-- 
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]

Reply via email to