Skip to content

Commit 316ed5f

Browse files
georgeajitgeorgeajit
authored andcommitted
No Task - Added orderBy and offsetLimit to control rows.
1 parent 9dd36bc commit 316ed5f

File tree

1 file changed

+1
-1
lines changed
  • marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/datamovement/functionaltests

1 file changed

+1
-1
lines changed

marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/datamovement/functionaltests/RowBatcherFuncTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public void testJoinfromViewfronLexicons() throws KeyManagementException, NoSuch
407407
// plan2 - fromLexicons
408408
PlanBuilder.ModifyPlan plan2 = p.fromLexicons(indexes, "myCity");
409409

410-
PlanBuilder.ModifyPlan output = plan1.joinFullOuter(plan2);
410+
PlanBuilder.ModifyPlan output = plan1.joinFullOuter(plan2).orderBy(p.col("id")).offsetLimit(0, 2);
411411
rowsBatcherOfJsonObj.withBatchView(output);
412412

413413
ArrayList<String> exptdCity = new ArrayList(Arrays.asList("beijing", "cape town"));

0 commit comments

Comments
 (0)