Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Powell committed Oct 17, 2024
1 parent d7497b8 commit fddf255
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ private ReadSessionResponse createReadSession() {

Stream<InputPartitionContext<InternalRow>> createEmptyProjectionPartitions() {
Optional<String> filter = getCombinedFilter();
long rowCount = bigQueryClient.calculateTableSize(tableId, filter, readSessionCreatorConfig.getSnapshotTimeMillis());
long rowCount =
bigQueryClient.calculateTableSize(
tableId, filter, readSessionCreatorConfig.getSnapshotTimeMillis());
logger.info("Used optimized BQ count(*) path. Count: " + rowCount);
int partitionsCount = readSessionCreatorConfig.getDefaultParallelism();
int partitionSize = (int) (rowCount / partitionsCount);
Expand Down

0 comments on commit fddf255

Please sign in to comment.