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 f66f6cd
Showing 1 changed file with 5 additions and 0 deletions.
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 f66f6cd

Please sign in to comment.