https://github.com/substrait-io/substrait-cpp
https://github.com/substrait-io/substrait-cpp
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/substrait-io/substrait-cpp
- Owner: substrait-io
- License: apache-2.0
- Created: 2022-08-24T00:03:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T12:31:48.000Z (9 months ago)
- Last Synced: 2024-09-12T23:56:50.575Z (9 months ago)
- Language: C++
- Size: 444 KB
- Stars: 11
- Watchers: 13
- Forks: 11
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# substrait-cpp
Planned home for CPP libraries to help build/consume Substrait query plans.
## Getting Started
We provide scripts to help developers setup and install substrait-cpp dependencies.
### Get the substrait-cpp Source
```
git clone --recursive https://github.com/substrait-io/substrait-cpp.git
cd substrait-cpp
# if you are updating an existing checkout
git submodule sync --recursive
git submodule update --init --recursive
```### Setting up on Linux (Ubuntu 20.04 or later)
Once you have checked out substrait-cpp, you can set up and build like so:
```shell
$ ./scripts/setup-ubuntu.sh
$ make
```### Coding style
Basically the coding style is based on Google C++ Style, but there are some naming style changed:
- Function case style change to 'camelBack'
- Variable case style change to 'camelBack'
- Class Member case style change to 'camelBack' with '_' as suffixFor more detail information please refer to .clang-tidy under root directory.
You can run `make format` script to formatting source code and run `make tidy` to checking coding style, and run `make tidy-fix`to fix the coding style automatically.
## License
substrait-cpp is licensed under the Apache 2.0 License. A copy of the license
[can be found here.](https://www.apache.org/licenses/LICENSE-2.0.html)