Phoenix500526 commented on code in PR #12314:
URL: https://github.com/apache/arrow-rs/pull/12314#discussion_r4715959222


##########
LICENSE.txt:
##########
@@ -207,3 +207,50 @@ arrow-array/src/delta.rs: MIT
 
 This file is derived from the chronoutil crate. The full MIT license
 text is in arrow-array/LICENSE-MIT.
+
+--------------------------------------------------------------------------------
+
+The read_varint_array function in arrow-avro/src/reader/vlq.rs is based
+in part on the following upstream implementations:
+
+1. Protocol Buffers C++ (3.3.x): ReadVarint64FromArray in
+   src/google/protobuf/io/coded_stream.cc, also used by prost.
+
+   Copyright 2008 Google Inc.  All rights reserved.
+   https://github.com/protocolbuffers/protobuf
+
+2. protobuf-go (v1.27.1): ConsumeVarint in encoding/protowire/wire.go.
+   The overflow checks in read_varint_array and read_varint_slow also
+   reference this implementation.
+
+   Copyright (c) 2018 The Go Authors. All rights reserved.
+   https://github.com/protocolbuffers/protobuf-go
+
+The following BSD 3-Clause license terms apply to both upstream

Review Comment:
   Thanks for checking. I removed the proposed BSD entries for Protobuf C++ and 
protobuf-go from LICENSE.txt and kept both links as references for the varint 
decoding algorithm.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to