Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 7d08d7b

Browse files
authored
fix: beta cleanup: remove deprecated classes and unused functionalities (#1300)
* fix: update code comment to reflect max size change * fix: remove deprecated classes. * fix integration test failures * fix test failure * . * . * .
1 parent a5facf9 commit 7d08d7b

7 files changed

Lines changed: 45 additions & 2555 deletions

File tree

google-cloud-bigquerystorage/clirr-ignored-differences.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,16 @@
1616
<className>com/google/cloud/bigquery/storage/v1beta2/JsonStreamWriter</className>
1717
<method>com.google.cloud.bigquery.storage.v1beta2.JsonStreamWriter$Builder newBuilder(java.lang.String, com.google.cloud.bigquery.Schema)</method>
1818
</difference>
19+
<difference>
20+
<differenceType>8001</differenceType>
21+
<className>com/google/cloud/bigquery/storage/v1beta2/StreamWriter</className>
22+
</difference>
23+
<difference>
24+
<differenceType>8001</differenceType>
25+
<className>com/google/cloud/bigquery/storage/v1beta2/StreamWriter$Builder</className>
26+
</difference>
27+
<difference>
28+
<differenceType>8001</differenceType>
29+
<className>com/google/cloud/bigquery/storage/v1beta2/OnSchemaUpdateRunnable</className>
30+
</difference>
1931
</differences>

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/JsonStreamWriter.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,6 @@ public ApiFuture<AppendRowsResponse> append(JSONArray jsonArr, long offset) {
116116
}
117117
}
118118

119-
/**
120-
* Refreshes connection for a JsonStreamWriter by first flushing all remaining rows, then
121-
* recreates stream writer, and finally setting the descriptor. All of these actions need to be
122-
* performed atomically to avoid having synchronization issues with append(). Flushing all rows
123-
* first is necessary since if there are rows remaining when the connection refreshes, it will
124-
* send out the old writer schema instead of the new one.
125-
*/
126-
void refreshConnection()
127-
throws IOException, InterruptedException, Descriptors.DescriptorValidationException {
128-
synchronized (this) {
129-
this.streamWriter.close();
130-
this.streamWriter = streamWriterBuilder.build();
131-
this.descriptor =
132-
BQTableSchemaToProtoDescriptor.convertBQTableSchemaToProtoDescriptor(this.tableSchema);
133-
}
134-
}
135-
136119
/**
137120
* Gets streamName
138121
*

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/OnSchemaUpdateRunnable.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)