Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yoshi-automation and stephaniewang526 committed Mar 30, 2021
1 parent 82b556e commit de0c0d2
Show file tree
Hide file tree
Showing 20 changed files with 2,311 additions and 352 deletions.
51 changes: 0 additions & 51 deletions google-cloud-bigquerystorage/clirr-ignored-differences.xml

This file was deleted.

This file was deleted.

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- Allow below protobuf changes as non-breaking-->
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/bigquery/storage/v1/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/bigquery/storage/v1/*OrBuilder</className>
<method>boolean contains*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/bigquery/storage/v1/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>
Expand Up @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable;

public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
Expand All @@ -48,7 +52,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".proto\022 google.cloud.bigquery.storage.v1"
+ "\"(\n\013ArrowSchema\022\031\n\021serialized_schema\030\001 \001"
+ "(\014\"F\n\020ArrowRecordBatch\022\037\n\027serialized_rec"
+ "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003B\303\001\n$c"
+ "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003\"\305\001\n\031A"
+ "rrowSerializationOptions\022h\n\022buffer_compr"
+ "ession\030\002 \001(\0162L.google.cloud.bigquery.sto"
+ "rage.v1.ArrowSerializationOptions.Compre"
+ "ssionCodec\">\n\020CompressionCodec\022\033\n\027COMPRE"
+ "SSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001B\303\001\n$c"
+ "om.google.cloud.bigquery.storage.v1B\nArr"
+ "owProtoP\001ZGgoogle.golang.org/genproto/go"
+ "ogleapis/cloud/bigquery/storage/v1;stora"
Expand All @@ -74,6 +83,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"SerializedRecordBatch", "RowCount",
});
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor,
new java.lang.String[] {
"BufferCompression",
});
}

// @@protoc_insertion_point(outer_class_scope)
Expand Down

0 comments on commit de0c0d2

Please sign in to comment.