Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
Signed-off-by: currantw <[email protected]>
  • Loading branch information
currantw committed Feb 12, 2025
1 parent 340ed07 commit 240c1eb
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,19 @@ public void testNested() throws IOException {
@Test
public void testWithFlatten() throws IOException {
String query =
StringUtils.format(
"source=%s | where city = 'San Antonio' | flatten teams | expand title | fields name, title",
TEST_INDEX_EXPAND_FLATTEN);
StringUtils.format(
"source=%s | where city = 'San Antonio' | flatten teams | expand title | fields name,"
+ " title",
TEST_INDEX_EXPAND_FLATTEN);
JSONObject result = executeQuery(query);

verifySchema(result, schema("name", "string"), schema("title", "integer"));
verifyDataRows(
result,
rows("San Antonio Spurs", 1999),
rows("San Antonio Spurs", 2003),
rows("San Antonio Spurs", 2005),
rows("San Antonio Spurs", 2007),
rows("San Antonio Spurs", 2014));
result,
rows("San Antonio Spurs", 1999),
rows("San Antonio Spurs", 2003),
rows("San Antonio Spurs", 2005),
rows("San Antonio Spurs", 2007),
rows("San Antonio Spurs", 2014));
}
}

0 comments on commit 240c1eb

Please sign in to comment.