This is an automated email from the ASF dual-hosted git repository.
XiaoHongbo-Hope pushed a commit to branch release-0.1
in repository https://gitbox.apache.org/repos/asf/paimon-vector-index.git
The following commit(s) were added to refs/heads/release-0.1 by this push:
new adb580b Add ASF license header to core/benches files
adb580b is described below
commit adb580b721a6f9ddf82df842690d286caa301df4
Author: jianguotian <[email protected]>
AuthorDate: Sat Jun 13 04:20:58 2026 -0700
Add ASF license header to core/benches files
The four benchmark sources under core/benches/ are shipped in the
source release tarball but were missing the ASF license header,
which fails the Apache RAT license check. Add the standard header.
---
core/benches/ann_bench.rs | 17 +++++++++++++++++
core/benches/ivfhnswsq_filter_bench.rs | 17 +++++++++++++++++
core/benches/pq4_bench.rs | 17 +++++++++++++++++
core/benches/recall_bench.rs | 17 +++++++++++++++++
4 files changed, 68 insertions(+)
diff --git a/core/benches/ann_bench.rs b/core/benches/ann_bench.rs
index f8f3f73..9b6001d 100644
--- a/core/benches/ann_bench.rs
+++ b/core/benches/ann_bench.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
use paimon_vindex_core::distance::MetricType;
use paimon_vindex_core::hnsw::HnswBuildParams;
use paimon_vindex_core::io::{write_index, IVFPQIndexReader, PosWriter};
diff --git a/core/benches/ivfhnswsq_filter_bench.rs
b/core/benches/ivfhnswsq_filter_bench.rs
index 4738280..d49a92a 100644
--- a/core/benches/ivfhnswsq_filter_bench.rs
+++ b/core/benches/ivfhnswsq_filter_bench.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
use paimon_vindex_core::distance::MetricType;
use paimon_vindex_core::hnsw::HnswBuildParams;
use paimon_vindex_core::index::{
diff --git a/core/benches/pq4_bench.rs b/core/benches/pq4_bench.rs
index 3590231..8bd3d27 100644
--- a/core/benches/pq4_bench.rs
+++ b/core/benches/pq4_bench.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
use paimon_vindex_core::distance::MetricType;
use paimon_vindex_core::fastscan::{fastscan_4bit, pack_codes_block_layout};
use paimon_vindex_core::ivfpq::IVFPQIndex;
diff --git a/core/benches/recall_bench.rs b/core/benches/recall_bench.rs
index 0f2887f..aa6896a 100644
--- a/core/benches/recall_bench.rs
+++ b/core/benches/recall_bench.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
use paimon_vindex_core::distance::{fvec_distance, MetricType};
use paimon_vindex_core::hnsw::HnswBuildParams;
use paimon_vindex_core::io::{write_index, PosWriter};