Skip to content
Permalink
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>
  • Loading branch information
yoshi-automation and stephaniewang526 committed Mar 30, 2021
1 parent 82b556e commit de0c0d2c0a5e8b85a0f2aa5679a22fb8846a5fd0
Showing with 2,311 additions and 352 deletions.
  1. +0 −51 google-cloud-bigquerystorage/clirr-ignored-differences.xml
  2. +0 −9 grpc-google-cloud-bigquerystorage-v1beta1/clirr-ignored-differences.xml
  3. +20 −0 proto-google-cloud-bigquerystorage-v1/clirr-ignored-differences.xml
  4. +18 −1 ...oogle-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java
  5. +792 −0 ...querystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java
  6. +57 −0 ...age-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java
  7. +735 −0 ...cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java
  8. +84 −0 ...querystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java
  9. +475 −48 ...ogle-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java
  10. +18 −12 ...d-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java
  11. +16 −4 ...gle-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java
  12. +25 −19 ...ogle-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java
  13. +17 −2 proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto
  14. +1 −2 proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto
  15. +18 −4 proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto
  16. +18 −10 proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto
  17. +0 −10 proto-google-cloud-bigquerystorage-v1alpha2/clirr-ignored-differences.xml
  18. +0 −9 proto-google-cloud-bigquerystorage-v1beta1/clirr-ignored-differences.xml
  19. +7 −163 proto-google-cloud-bigquerystorage-v1beta2/clirr-ignored-differences.xml
  20. +10 −8 synth.metadata

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>
@@ -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;
@@ -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"
@@ -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)

0 comments on commit de0c0d2

Please sign in to comment.