Skip to content

Commit e9aed0b

Browse files
authored
BigQuery storage: unnecessary repetition in request builder. (GoogleCloudPlatform#1510)
1 parent 5fc6008 commit e9aed0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bigquery/bigquerystorage/src/main/java/com/example/bigquerystorage/StorageSample.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ public static void main(String... args) throws Exception {
123123
// read from a single stream. Consider BALANCED if you're consuming
124124
// multiple streams concurrently and want more consistent stream sizes.
125125
.setShardingStrategy(Storage.ShardingStrategy.LIQUID)
126-
.setRequestedStreams(1)
127-
.setFormat(DataFormat.AVRO);
126+
.setRequestedStreams(1);
128127

129128
// Optionally specify the snapshot time. When unspecified, snapshot time is "now".
130129
if (snapshotMillis != null) {

0 commit comments

Comments
 (0)