| ========================================================== |
| License information for Doris third-party dependencies |
| ========================================================== |
| |
| This directory contains scripts which download and install several third-party |
| dependencies of Doris. And for producation builds, most of these dependencies |
| are statically linked into the Doris binaries. Some of dependencies are optional |
| for Doris build. |
| |
| Most of these dependencies' licenses are compatible with Apache License Version 2.0. |
| But serverl dependencies are under imcompatible licenses. |
| |
| This file will give an interpretation of these licenses. |
| |
| ============================================================================================ |
| LZ4 |
| source: https://github.com/lz4/lz4 |
| |
| This repository uses 2 different licenses : |
| - all files in the `lib` directory use a BSD 2-Clause license |
| - all other files use a GPLv2 license, unless explicitly stated otherwise |
| |
| Doris only dependents on features implemented in the `lib` directory, which are under BSD 2-Clause license. |
| |
| ============================================================================================ |
| RapidJSON |
| source: https://github.com/Tencent/rapidjson/ |
| |
| RapidJSON source code is licensed under the MIT License, except for the third-party components listed below |
| which are subject to different license terms. Your integration of RapidJSON into your own projects may require |
| compliance with the MIT License, as well as the other licenses applicable to the third-party components included |
| within RapidJSON. To avoid the problematic JSON license in your own projects, it's sufficient to exclude the |
| bin/jsonchecker/ directory, as it's the only code under the JSON license. |
| |
| Doris only dependents on the source files in `include/rapidjson` directory, which are under MIT License. |
| |
| ============================================================================================ |
| RocksDB |
| source: https://github.com/facebook/rocksdb |
| |
| RocksDB is dual-licensed under both the GPLv2 (found in the COPYING file in the root directory) and |
| Apache 2.0 License (found in the LICENSE.Apache file in the root directory) |
| |
| Doris selects Apache 2.0 License of RocksDB. |
| |
| ============================================================================================ |
| LZO |
| source: https://github.com/nemequ/lzo |
| |
| LZO is under GNU General Public License Version 2(GPL-2), which is not compatible with Apache 2.0 License. |
| |
| So LZO is an optional feature when building Doris from source. You can disable the LZO support by adding |
| `--without-lzo` argument in `build.sh` script. |
| |
| Disable LZO support does not affect normal use of Doris. |
| |
| ============================================================================================ |
| MySQL |
| source: https://github.com/mysql/mysql-server |
| |
| MySQL is under GNU General Public License Version 2(GPL-2), which is not compatible with Apache 2.0 License. |
| |
| So MySQL is an optional feature when building Doris from source. You can disable the MySQL support by adding |
| `--without-mysql` argument in `build.sh` script. |
| |
| Disable MySQL support with disable the feature of visiting a MySQL table as an external table in Doris. |