Skip to content

Commit

Permalink
fix(controller): dataset load with wrong key type (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenxinxing authored Sep 12, 2023
1 parent ea5f06b commit 4c3eafc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ public List<DataIndex> returnDataIndex(QueryDataIndexRequest request) {
var records = dataStore.scan(DataStoreScanRequest.builder()
// start params must use the current cursor
.start(start)
.startType("STRING")
.startInclusive(startInclusive)
.end(request.getEnd())
.endType("STRING")
.endInclusive(request.isEndInclusive())
.keepNone(true)
.rawResult(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ public void testGenerateRange() {
given(dataStore.scan(
DataStoreScanRequest.builder()
.start("0000-000")
.startType("STRING")
.startInclusive(true)
.end("0000-008")
.endType("STRING")
.endInclusive(true)
.keepNone(true)
.rawResult(false)
Expand Down Expand Up @@ -111,10 +109,8 @@ public void testGenerateRange() {
given(dataStore.scan(
DataStoreScanRequest.builder()
.start("0000-008")
.startType("STRING")
.startInclusive(false)
.end("0000-008")
.endType("STRING")
.endInclusive(true)
.keepNone(true)
.rawResult(false)
Expand Down Expand Up @@ -201,10 +197,8 @@ public void testNextDataRange(boolean isSerial, int executeCount, ReadMode readM
given(dataStore.scan(
DataStoreScanRequest.builder()
.start("0000-000")
.startType("STRING")
.startInclusive(true)
.end("0000-008")
.endType("STRING")
.endInclusive(true)
.keepNone(true)
.rawResult(false)
Expand Down

0 comments on commit 4c3eafc

Please sign in to comment.