Skip to content

Commit ed8d8b0

Browse files
committed
chore: prepare 0.3 repository updates
1 parent a899262 commit ed8d8b0

17 files changed

Lines changed: 63 additions & 96 deletions

File tree

.asf.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ github:
3232
enabled_merge_buttons:
3333
merge: false
3434
squash: true
35-
rebase: true
35+
rebase: false
3636
rulesets:
3737
- name: "Branch Protection"
3838
type: branch
@@ -52,17 +52,19 @@ github:
5252
required_status_checks:
5353
- name: "pre-commit"
5454
app_slug: -1
55-
- name: "gcc-test"
56-
app_slug: -1
5755
- name: "rat-license-check"
5856
app_slug: -1
59-
- name: "test-with-sanitizer"
57+
- name: "asan-ubsan"
58+
app_slug: -1
59+
- name: "tsan"
60+
app_slug: -1
61+
- name: "clang-debug"
6062
app_slug: -1
6163
- name: "clang-release"
6264
app_slug: -1
63-
- name: "gcc-release"
65+
- name: "gcc-debug"
6466
app_slug: -1
65-
- name: "clang-test"
67+
- name: "gcc-release"
6668
app_slug: -1
6769
- name: "gcc8-test"
6870
app_slug: -1

.github/workflows/build_and_test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
cc: gcc-14
5252
cxx: g++-14
5353
- name: clang-debug
54-
# fetch_depth: '0' # fetch the PR target branch history for clang-tidy
55-
# build_args: >-
56-
# --check_clang_tidy
57-
# --lint_git_target_commit "origin/${{ github.base_ref || github.event.repository.default_branch }}"
54+
fetch_depth: '0' # fetch the PR target branch history for clang-tidy
55+
build_args: >-
56+
--check_clang_tidy
57+
--lint_git_target_commit "origin/${{ github.base_ref || github.event.repository.default_branch }}"
5858
- name: asan-ubsan
5959
build_args: --enable_asan --enable_ubsan
6060
- name: tsan

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ option(PAIMON_ENABLE_JINDO "Whether to enable jindo file system" OFF)
6464
option(PAIMON_ENABLE_S3 "Whether to enable S3 file system" OFF)
6565
option(PAIMON_ENABLE_NETWORK_TESTS
6666
"Whether to enable tests that access real remote services over the network" OFF)
67+
option(PAIMON_ENABLE_LUMINA "Whether to enable lumina vector index" OFF)
6768
option(PAIMON_ENABLE_LUCENE "Whether to enable lucene index" OFF)
6869
option(PAIMON_ENABLE_TANTIVY
6970
"Whether to enable tantivy-fulltext global index (Rust FFI, experimental)" OFF)
@@ -485,7 +486,7 @@ include(CMakePackageConfigHelpers)
485486
write_basic_package_version_file(
486487
"${CMAKE_CURRENT_BINARY_DIR}/PaimonConfigVersion.cmake"
487488
VERSION ${PROJECT_VERSION}
488-
COMPATIBILITY AnyNewerVersion)
489+
COMPATIBILITY SameMinorVersion)
489490
490491
configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/PaimonConfig.cmake.in"
491492
"${CMAKE_CURRENT_BINARY_DIR}/PaimonConfig.cmake"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Before submitting, please verify:
8080
### Prerequisites
8181

8282
- **C++17** compatible compiler (GCC recommended)
83-
- **CMake** ≥ 3.16
83+
- **CMake** ≥ 3.22
8484
- **Python 3** (for linting scripts and pre-commit)
8585

8686
---

LICENSE

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -429,16 +429,6 @@ License: https://www.apache.org/licenses/LICENSE-2.0
429429

430430
--------------------------------------------------------------------------------
431431

432-
This product includes code from LucenePlusPlus.
433-
434-
* LucenePlusPlus utility in src/paimon/global_index/lucene/ directory
435-
436-
Copyright: 2009-2014 Alan Wright.
437-
Home page: https://github.com/luceneplusplus/LucenePlusPlus
438-
License: https://www.apache.org/licenses/LICENSE-2.0
439-
440-
--------------------------------------------------------------------------------
441-
442432
This product includes code derived from PyTorch TH simd.h.
443433

444434
* SIMD detection code in third_party/roaring_bitmap/roaring.cpp

NOTICE

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,5 @@ PalDB
5050

5151
--------------------------------------------------------------------------------
5252

53-
This product includes software from LucenePlusPlus project (Apache 2.0)
54-
Copyright 2009-2014 Alan Wright.
55-
56-
--------------------------------------------------------------------------------
57-
5853
JindoSDK NextArch C++
5954
Copyright 2024-present Alibaba Cloud.

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ It provides native, high-performance, and extensible access to the Paimon lake f
2626

2727
Background and documentation are available at [paimon.apache.org](https://paimon.apache.org).
2828

29-
## Status
30-
31-
Paimon-cpp is currently undergoing repository migration. The original repository is hosted at [github.com/alibaba/paimon-cpp](https://github.com/alibaba/paimon-cpp/), and the codebase is being migrated incrementally to the Apache Paimon community repository.
32-
3329
## Features
3430

3531
Paimon-cpp currently provides:
@@ -53,7 +49,7 @@ Paimon-cpp currently provides:
5349
> Paimon C++ therefore currently treats the `bitmap` global index type as unsupported. The legacy
5450
> implementation remains in the codebase pending migration to the Java-compatible format.
5551
56-
Note: Linux x86_64 and macOS arm64 builds are currently verified.
52+
Note: Only Linux x86_64 builds are currently supported and verified.
5753

5854
## Building
5955

docs/source/build_system.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for data format and file system.
4444

4545
.. code-block:: cmake
4646
47-
cmake_minimum_required(VERSION 3.16)
47+
cmake_minimum_required(VERSION 3.22)
4848
4949
project(MyExample)
5050

docs/source/building.rst

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ out-of-source. For example, you could create ``paimon-cpp/build`` and invoke
3232

3333
Building requires:
3434

35-
* A C++17-enabled compiler. On Linux, gcc 8 and higher should be
36-
sufficient. On macOS, use AppleClang from Xcode Command Line Tools or
37-
LLVM clang from Homebrew. Windows is not supported for now.
35+
* A C++17-enabled compiler. On Linux, gcc 8 and higher should be sufficient.
36+
macOS and Windows are not supported for now.
3837
* At least 2GB of RAM for a minimal build, 8GB for a minimal
3938
debug build with tests and 16GB for a full build.
4039

@@ -46,29 +45,6 @@ On Ubuntu/Debian you can install the requirements with:
4645
build-essential \
4746
cmake
4847
49-
On macOS you can install the requirements with:
50-
51-
.. code-block:: shell
52-
53-
xcode-select --install
54-
brew install cmake
55-
56-
The same CMake build options apply on Linux and macOS. If you prefer upstream
57-
LLVM clang instead of AppleClang on macOS, install LLVM and pass the Homebrew
58-
compiler paths when configuring:
59-
60-
.. code-block:: shell
61-
62-
brew install llvm
63-
cmake -B build \
64-
-DCMAKE_C_COMPILER="$(brew --prefix llvm)/bin/clang" \
65-
-DCMAKE_CXX_COMPILER="$(brew --prefix llvm)/bin/clang++"
66-
67-
When building with upstream Clang on macOS, Paimon uses Apple SDK libc++
68-
headers by default to avoid incompatibilities in bundled third-party
69-
dependencies. Pass ``-DPAIMON_USE_APPLE_LIBCXX_WITH_CLANG=OFF`` to disable
70-
this behavior.
71-
7248
We also provide a docker template to help you get started quickly. See in
7349
``.devcontainer`` folder for more details.
7450

@@ -149,6 +125,7 @@ boolean flags to ``cmake``.
149125
* ``-DPAIMON_ENABLE_JINDO=ON``: Support for Alibaba Jindo filesystems
150126
* ``-DPAIMON_ENABLE_LUMINA=ON``: Support for the Lumina vector index.
151127
* ``-DPAIMON_ENABLE_LUCENE=ON``: Support for Lucene full-text search indexes
128+
* ``-DPAIMON_ENABLE_TANTIVY=ON``: Enable the experimental Tantivy full-text index Rust FFI.
152129

153130
Third-party dependency source
154131
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -241,7 +218,7 @@ several times with different options if you want to exercise all of them.
241218
CMake version requirements
242219
~~~~~~~~~~~~~~~~~~~~~~~~~~
243220

244-
We support CMake 3.16 and higher.
221+
We support CMake 3.22 and higher.
245222

246223
LLVM and Clang Tools
247224
~~~~~~~~~~~~~~~~~~~~

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
import os
3333
import datetime
3434

35-
project = u'C++ Paimon'
36-
copyright = f'2024-{datetime.datetime.now().year} Apache Software Foundation'
35+
project = u'Paimon C++'
36+
copyright = f'2026-{datetime.datetime.now().year} Apache Software Foundation'
3737
author = u'Apache Software Foundation'
3838

3939
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)