iotdb
iotdb copied to clipboard
[IOTDB-4568] Added test api for partitions
[IOTDB-4568]Added test api for partitions at confignodes
related document:https://apache-iotdb.feishu.cn/docx/doxcnA4xpA6vrmKssH2GgbeHFhh The inputs and outputs are defined there.
getRouting
Query a timePartition's corresponding dataRegionIds
getTimeSlotList
Query a seriesSlot's timeSlots between startTime and endTime
getSeriesSlotList
Query a storageGroup's seriesSlots, using TConsensusGroupType to detect the type of returned seriesSlots.
This PR has:
- [x] been self-reviewed.
- [ ] concurrent read
- [ ] concurrent write
- [ ] concurrent read and write
- [x] added documentation for new or modified features or behaviors.
- [ ] added Javadocs for most classes and all non-trivial methods.
- [ ] added or updated version, license, or notice information
- [x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
- [ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage.
- [x] added integration tests.
- [ ] been tested in a test IoTDB cluster.
Key changed/added classes (or packages if there are too many classes) in this PR
We also need to add the corresponding SQL for these interfaces
sponding S
Start doing this~