Skip to content

Commit b2d6afe

Browse files
committed
add ccr tests
Signed-off-by: Jialiang Liang <jiallian@amazon.com>
1 parent 51356cd commit b2d6afe

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

integ-test/src/test/java/org/opensearch/sql/security/CalciteCrossClusterSearchIT.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,16 @@ public void testCrossClusterMvExpandBasic() throws IOException {
472472
verifyDataRows(result, rows("happy", "java"), rows("happy", "python"), rows("happy", "sql"));
473473
}
474474

475+
@Test
476+
public void testCrossClusterHighlightWildcard() throws IOException {
477+
JSONObject result =
478+
executeQuery(
479+
String.format(
480+
"search source=%s | highlight * | fields firstname, _highlight",
481+
TEST_INDEX_BANK_REMOTE));
482+
verifyColumn(result, columnName("firstname"), columnName("_highlight"));
483+
}
484+
475485
@Test
476486
public void testCrossClusterMvExpandWithLimit() throws IOException {
477487
JSONObject result =

0 commit comments

Comments
 (0)