Skip to content

Commit

Permalink
Add log about num of stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Feb 26, 2024
1 parent 015541f commit 8c6eb5d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,11 @@ public List<BigQueryStorageStreamSource<T>> split(
}

if (readSession.getStreamsList().isEmpty()) {
// The underlying table is empty or all rows have been pruned.
LOG.info(
"Returned stream list is empty. The underlying table is empty or all rows have been pruned.");
return ImmutableList.of();
} else {
LOG.info("Read session returned {} streams", readSession.getStreamsList().size());
}

Schema sessionSchema;
Expand Down

0 comments on commit 8c6eb5d

Please sign in to comment.