iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[IOTDB-4568] Added test api for partitions

Open Caideyipi opened this issue 3 years ago • 1 comments

[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

Caideyipi avatar Sep 30 '22 08:09 Caideyipi

We also need to add the corresponding SQL for these interfaces

CRZbulabula avatar Oct 05 '22 01:10 CRZbulabula

sponding S

Start doing this~

Caideyipi avatar Oct 10 '22 02:10 Caideyipi