Skip to content

Commit

Permalink
fix: SearchStats IndexUnusedReasons null bug
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan0102 committed Jul 26, 2023
1 parent eb250a8 commit 98ac0c9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5109,6 +5109,11 @@ public void testQueryJobWithSearchReturnsSearchStatistics() throws InterruptedEx
JobStatistics.QueryStatistics stats = remoteJob.getStatistics();
assertNotNull(stats.getSearchStats());
assertEquals(stats.getSearchStats().getIndexUsageMode(), "UNUSED");

System.out.println("Penguins");
System.out.println(stats.getSearchStats().getIndexUnusedReasons(););
System.out.println("Horses");

} finally {
bigquery.delete(destinationTable);
}
Expand Down

0 comments on commit 98ac0c9

Please sign in to comment.