Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit de0c0d2

Browse files
feat: add a Arrow compression options (Only LZ4 for now) (#972)
* feat: add a Arrow compression options (Only LZ4 for now). feat: Return schema on first ReadRowsResponse. doc: clarify limit on filter string. Committer: @emkornfield PiperOrigin-RevId: 365759522 Source-Author: Google APIs <noreply@google.com> Source-Date: Tue Mar 30 01:19:13 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: c539b9b08b3366ee00c0ec1950f4df711552a269 Source-Link: googleapis/googleapis@c539b9b * chore: clean up clirr-ignored-differences.xml in various proto modules add permanent blanket exception for protobuf generated OrBuilder interface methods as we don't consider these breaking. Co-authored-by: stephwang <stephwang@google.com>
1 parent 82b556e commit de0c0d2

File tree

20 files changed

+2311
-352
lines changed

20 files changed

+2311
-352
lines changed

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

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

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

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<!-- Allow below protobuf changes as non-breaking-->
5+
<difference>
6+
<differenceType>7012</differenceType>
7+
<className>com/google/cloud/bigquery/storage/v1/*OrBuilder</className>
8+
<method>* get*(*)</method>
9+
</difference>
10+
<difference>
11+
<differenceType>7012</differenceType>
12+
<className>com/google/cloud/bigquery/storage/v1/*OrBuilder</className>
13+
<method>boolean contains*(*)</method>
14+
</difference>
15+
<difference>
16+
<differenceType>7012</differenceType>
17+
<className>com/google/cloud/bigquery/storage/v1/*OrBuilder</className>
18+
<method>boolean has*(*)</method>
19+
</difference>
20+
</differences>

proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
3535
internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor;
3636
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
3737
internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable;
38+
static final com.google.protobuf.Descriptors.Descriptor
39+
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor;
40+
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41+
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable;
3842

3943
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
4044
return descriptor;
@@ -48,7 +52,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
4852
+ ".proto\022 google.cloud.bigquery.storage.v1"
4953
+ "\"(\n\013ArrowSchema\022\031\n\021serialized_schema\030\001 \001"
5054
+ "(\014\"F\n\020ArrowRecordBatch\022\037\n\027serialized_rec"
51-
+ "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003B\303\001\n$c"
55+
+ "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003\"\305\001\n\031A"
56+
+ "rrowSerializationOptions\022h\n\022buffer_compr"
57+
+ "ession\030\002 \001(\0162L.google.cloud.bigquery.sto"
58+
+ "rage.v1.ArrowSerializationOptions.Compre"
59+
+ "ssionCodec\">\n\020CompressionCodec\022\033\n\027COMPRE"
60+
+ "SSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001B\303\001\n$c"
5261
+ "om.google.cloud.bigquery.storage.v1B\nArr"
5362
+ "owProtoP\001ZGgoogle.golang.org/genproto/go"
5463
+ "ogleapis/cloud/bigquery/storage/v1;stora"
@@ -74,6 +83,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
7483
new java.lang.String[] {
7584
"SerializedRecordBatch", "RowCount",
7685
});
86+
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor =
87+
getDescriptor().getMessageTypes().get(2);
88+
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable =
89+
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
90+
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor,
91+
new java.lang.String[] {
92+
"BufferCompression",
93+
});
7794
}
7895

7996
// @@protoc_insertion_point(outer_class_scope)

0 commit comments

Comments
 (0)