From 8d8687995668b0d4d438a694344b4eb9206bbb5c Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Mon, 13 Apr 2026 19:23:47 +0100 Subject: [PATCH 1/3] Update NOTICE.txt to reflect actual Rust crate dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous NOTICE.txt was inherited from the broader Apache Arrow project and listed third-party components (SFrame, DyND, LLVM, google-lint/cpplint, mman-win32, LevelDB, CMake, multibuild, Ibis, Dremio, Google Guava, Apache Kudu, Apache ORC) that only exist in the C++, Python, or Java implementations. None of these have any code incorporated in the Rust crates. Meanwhile, the following actually-incorporated third-party code was not listed: - chronoutil (MIT, Oliver Margetts): arrow-array/src/delta.rs is copied verbatim from the chronoutil crate with its MIT header. - compact-thrift (Apache 2.0, Jörn Horstmann): parquet/src/parquet_macros.rs macros are adapted from this project. - parity-common/uint (Apache 2.0 / MIT): arrow-buffer/src/bigint/div.rs division algorithm is heavily inspired by this crate. - simdjson (Apache 2.0): arrow-json/src/reader/tape.rs JSON tape representation is inspired by simdjson's tape design. The Cargo.toml license field (Apache-2.0) remains correct: MIT is compatible with Apache-2.0 inclusion (and the MIT notice is retained in delta.rs), and all other incorporated code is Apache-2.0 licensed. Prompted by Fedora packaging review at https://bugzilla.redhat.com/show_bug.cgi?id=2456991 about NOTICE.txt over-declaring licenses for components not present in the distributed crate. Generated-by: Claude Opus 4.6 (Anthropic) --- NOTICE.txt | 86 +++++++----------------------------------------------- 1 file changed, 11 insertions(+), 75 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index 68538ffbdb4c..16141955d213 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -4,81 +4,17 @@ Copyright 2016-2026 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). -This product includes software from the SFrame project (BSD, 3-clause). -* Copyright (C) 2015 Dato, Inc. -* Copyright (c) 2009 Carnegie Mellon University. +This product includes software from the chronoutil crate (MIT) + * Copyright (c) 2020-2022 Oliver Margetts + * https://github.com/olliemath/chronoutil -This product includes software from the Feather project (Apache 2.0) -https://github.com/wesm/feather +This product includes software from the compact-thrift project (Apache 2.0) + * Copyright Jörn Horstmann + * https://github.com/jhorstmann/compact-thrift -This product includes software from the DyND project (BSD 2-clause) -https://github.com/libdynd +This product includes software inspired by the parity-common uint crate (Apache 2.0 / MIT) + * Copyright Parity Technologies + * https://github.com/paritytech/parity-common -This product includes software from the LLVM project - * distributed under the University of Illinois Open Source - -This product includes software from the google-lint project - * Copyright (c) 2009 Google Inc. All rights reserved. - -This product includes software from the mman-win32 project - * Copyright https://code.google.com/p/mman-win32/ - * Licensed under the MIT License; - -This product includes software from the LevelDB project - * Copyright (c) 2011 The LevelDB Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * Moved from Kudu http://github.com/cloudera/kudu - -This product includes software from the CMake project - * Copyright 2001-2009 Kitware, Inc. - * Copyright 2012-2014 Continuum Analytics, Inc. - * All rights reserved. - -This product includes software from https://github.com/matthew-brett/multibuild (BSD 2-clause) - * Copyright (c) 2013-2016, Matt Terry and Matthew Brett; all rights reserved. - -This product includes software from the Ibis project (Apache 2.0) - * Copyright (c) 2015 Cloudera, Inc. - * https://github.com/cloudera/ibis - -This product includes software from Dremio (Apache 2.0) - * Copyright (C) 2017-2018 Dremio Corporation - * https://github.com/dremio/dremio-oss - -This product includes software from Google Guava (Apache 2.0) - * Copyright (C) 2007 The Guava Authors - * https://github.com/google/guava - -This product include software from CMake (BSD 3-Clause) - * CMake - Cross Platform Makefile Generator - * Copyright 2000-2019 Kitware, Inc. and Contributors - -The web site includes files generated by Jekyll. - --------------------------------------------------------------------------------- - -This product includes code from Apache Kudu, which includes the following in -its NOTICE file: - - Apache Kudu - Copyright 2016 The Apache Software Foundation - - This product includes software developed at - The Apache Software Foundation (http://www.apache.org/). - - Portions of this software were developed at - Cloudera, Inc (http://www.cloudera.com/). - --------------------------------------------------------------------------------- - -This product includes code from Apache ORC, which includes the following in -its NOTICE file: - - Apache ORC - Copyright 2013-2019 The Apache Software Foundation - - This product includes software developed by The Apache Software - Foundation (http://www.apache.org/). - - This product includes software developed by Hewlett-Packard: - (c) Copyright [2014-2015] Hewlett-Packard Development Company, L.P +This product includes software inspired by the simdjson project (Apache 2.0) + * https://github.com/simdjson/simdjson From ab3a03d28aa654ec7817aeeaeda762f22d22a6a8 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Mon, 13 Apr 2026 19:23:54 +0100 Subject: [PATCH 2/3] Add MIT license for chronoutil code in arrow-array arrow-array/src/delta.rs is copied verbatim from the chronoutil crate (Copyright 2020-2023 Oliver Margetts) under the MIT license. The file retains its MIT header, but the crate metadata did not reflect this. - Add arrow-array/LICENSE-MIT from the upstream chronoutil project - Update arrow-array license to "Apache-2.0 AND MIT" - Override the workspace include to ship LICENSE-MIT with the crate Generated-by: Claude Opus 4.6 (Anthropic) --- arrow-array/Cargo.toml | 11 +++++++++-- arrow-array/LICENSE-MIT | 21 +++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 arrow-array/LICENSE-MIT diff --git a/arrow-array/Cargo.toml b/arrow-array/Cargo.toml index 9e8303486b06..df102c32b0d0 100644 --- a/arrow-array/Cargo.toml +++ b/arrow-array/Cargo.toml @@ -22,9 +22,16 @@ description = "Array abstractions for Apache Arrow" homepage = { workspace = true } repository = { workspace = true } authors = { workspace = true } -license = { workspace = true } +license = "Apache-2.0 AND MIT" keywords = { workspace = true } -include = { workspace = true } +include = [ + "benches/*.rs", + "src/**/*.rs", + "Cargo.toml", + "LICENSE.txt", + "LICENSE-MIT", + "NOTICE.txt", +] edition = { workspace = true } rust-version = { workspace = true } diff --git a/arrow-array/LICENSE-MIT b/arrow-array/LICENSE-MIT new file mode 100644 index 000000000000..12d70563b041 --- /dev/null +++ b/arrow-array/LICENSE-MIT @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020-2023 Oliver Margetts + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 20d623eb08b4d5e27e47c76cc40127167f473cac Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Mon, 13 Apr 2026 21:10:12 +0100 Subject: [PATCH 3/3] Address feedback Code only inspired by probably should not be listed. Also update LICENSE-MIT to actually match the years in the file header, not the latest from the upstream repo Signed-off-by: Michel Lind --- NOTICE.txt | 7 ------- arrow-array/LICENSE-MIT | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index 16141955d213..3e997a0ebd6c 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -11,10 +11,3 @@ This product includes software from the chronoutil crate (MIT) This product includes software from the compact-thrift project (Apache 2.0) * Copyright Jörn Horstmann * https://github.com/jhorstmann/compact-thrift - -This product includes software inspired by the parity-common uint crate (Apache 2.0 / MIT) - * Copyright Parity Technologies - * https://github.com/paritytech/parity-common - -This product includes software inspired by the simdjson project (Apache 2.0) - * https://github.com/simdjson/simdjson diff --git a/arrow-array/LICENSE-MIT b/arrow-array/LICENSE-MIT index 12d70563b041..14843abcdc34 100644 --- a/arrow-array/LICENSE-MIT +++ b/arrow-array/LICENSE-MIT @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020-2023 Oliver Margetts +Copyright (c) 2020-2022 Oliver Margetts Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal