Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Apache Iceberg C++

License

NotificationsYou must be signed in to change notification settings

apache/iceberg-cpp

C++ implementation ofApache Iceberg™.

Requirements

  • CMake 3.25 or higher
  • C++20 compliant compiler

Build

Build, Run Test and Install Core Libraries

cd iceberg-cppcmake -S. -B build -DCMAKE_INSTALL_PREFIX=/path/to/install -DICEBERG_BUILD_STATIC=ON -DICEBERG_BUILD_SHARED=ONcmake --build buildctest --test-dir build --output-on-failurecmake --install build

Build and Install Iceberg Arrow Library

Vendored Apache Arrow (default)

cmake -S. -B build -DCMAKE_INSTALL_PREFIX=/path/to/install -DICEBERG_ARROW=ONcmake --build buildctest --test-dir build --output-on-failurecmake --install build

Provided Apache Arrow

cmake -S. -B build -DCMAKE_INSTALL_PREFIX=/path/to/install -DCMAKE_PREFIX_PATH=/path/to/arrow -DICEBERG_ARROW=ONcmake --build buildctest --test-dir build --output-on-failurecmake --install build

Build Examples

After installing the core libraries, you can build the examples:

cd iceberg-cpp/examplecmake -S. -B build -DCMAKE_PREFIX_PATH=/path/to/installcmake --build build

If you are using provided Apache Arrow, you need to include/path/to/arrow inCMAKE_PREFIX_PATH as below.

cmake -S. -B build -DCMAKE_PREFIX_PATH="/path/to/install;/path/to/arrow"

Contribute

Apache Iceberg is an active open-source project, governed under the Apache Software Foundation (ASF). Iceberg-cpp is open to people who want to contribute to it. Here are some ways to get involved:

The Apache Iceberg community is built on the principles described in theApache Way and all who engage with the community are expected to be respectful, open, come with the best interests of the community in mind, and abide by the Apache FoundationCode of Conduct.

Linting

Install the python packagepre-commit and run oncepre-commit install.

pip install pre-commitpre-commit install

This will setup a git pre-commit-hook that is executed on each commit and will report the linting problems. To run all hooks on all files usepre-commit run -a.

License

Licensed under theApache License, Version 2.0


[8]ページ先頭

©2009-2025 Movatter.jp