https://github.com/apache/doris-sdk
SDK for Apache Doris
https://github.com/apache/doris-sdk
bigquery database dbt delta-lake elt etl hadoop hive hudi iceberg lakehouse olap query-engine real-time redshift snowflake spark sql
Last synced: about 1 month ago
JSON representation
SDK for Apache Doris
- Host: GitHub
- URL: https://github.com/apache/doris-sdk
- Owner: apache
- License: apache-2.0
- Created: 2023-05-04T14:46:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-07T02:47:21.000Z (over 1 year ago)
- Last Synced: 2025-09-04T00:47:10.183Z (about 1 month ago)
- Topics: bigquery, database, dbt, delta-lake, elt, etl, hadoop, hive, hudi, iceberg, lakehouse, olap, query-engine, real-time, redshift, snowflake, spark, sql
- Language: Thrift
- Homepage: https://doris.apache.org
- Size: 35.2 KB
- Stars: 8
- Watchers: 35
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGE-LOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Doris SDK
This repository contains the sdk for the [Apache Doris](https://doris.apache.org) project.
## Build and Install
Ready to work
1.Modify the `custom_env.sh.tpl` file and rename it to `custom_env.sh`
2.Specify the thrift installation directory
```bash
##source file content
#export THRIFT_BIN=
#export MVN_BIN=
#export JAVA_HOME=##amend as below,MacOS as an example
export THRIFT_BIN=/opt/homebrew/Cellar/thrift@0.16.0/0.16.0/bin/thrift
export MVN_BIN=/opt/homebrew/Cellar/maven/3.9.0/bin/mvn
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
```Install `thrift` 0.16.0
Windows:
```bash
1. Download: `http://archive.apache.org/dist/thrift/0.16.0/thrift-0.16.0.exe`
2. Modify thrift-0.16.0.exe to thrift.exe
```MacOS:
```bash
brew install thrift@0.16.0
```Note: Executing `brew install thrift@0.16.0` on MacOS may report an error that the version cannot be found. The solution is as follows, execute it in the terminal:
```bash
1. brew tap-new $USER/local-tap
2. brew extract --version='0.16.0' thrift $USER/local-tap
3. brew install thrift@0.16.0
```Linux:
```bash
1. wget https://archive.apache.org/dist/thrift/0.16.0/thrift-0.16.0.tar.gz # Download source package
2. yum install -y autoconf automake libtool cmake ncurses-devel openssl-devel lzo-devel zlib-devel gcc gcc-c++ # Install dependencies
3. tar zxvf thrift-0.16.0.tar.gz
4. cd thrift-0.16.0
5. ./configure --without-tests
6. make
7. make install
8. thrift --version # Check the version after installation is complete
```
Note: If you have compiled Doris, you do not need to install thrift, you can directly use `$DORIS_HOME/thirdparty/installed/bin/thrift`Execute following command in `thrift-service` dir:
```bash
sh build.sh
```