2 Star 1 Fork 1

mirrors_mariadb-corporation/mariadb-columnstore-data-adapters

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

mariadb-columnstore-data-adapters

See individual README files for more information.

Packaging

The first three adapters can be packaged as RPM and DEB packages, the last one as zip file. To enable packaging, add -DRPM=<suffix> for RPM packages or -DDEB=<suffix> for DEB packages. The <suffix> will be appended as the last component of the package name. This is used to label the OS of the package.

Example installation, test and package build:

git clone https://github.com/mariadb-corporation/mariadb-columnstore-data-adapters.git
cd mariadb-columnstore-data-adapters
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DTEST_RUNNER=ON ..
make
sudo make install
ctest -V
cmake -DRPM=centos7 ..
make package

CMake options

Option Default Definition
CMAKE_INSTALL_PREFIX (Platform dependent) Where to install each data adapter
CMAKE_BUILD_TYPE RELWITHDEBINFO The type of build (Debug, Release or RelWithDebInfo)
TEST_RUNNER OFF Build the test suite
RPM OFF Build a RPM (and the OS name for the package)
DEB OFF Build a DEB (and the OS name for the package)
KAFKA ON Build the Kafka-Avro to ColumnStore Data Adatper
KETTLE ON Build the Kettle / PDI ColumnStore Bulk Write Plugin
MAX_CDC ON Build the MaxScale CDC to ColumnStore Data Adapter
MAX_KAFKA OFF Build the MaxScale Kafka+CDC to ColumnStore Data Adapter (deprecated)

Windows packaging

Currently only the Pentaho Kettle Data Adapter can be built on Windows.

To compile it you first have to install the Windows version of mcsapi and set the environment variable MCSAPI_INSTALL_DIR to its top level installation directory.

Afterwards you can generate the package through following commands in Visual Studio 2017's "x64 Native Tools Command Prompt for VS 2017":

git clone https://github.com/mariadb-corporation/mariadb-columnstore-data-adapters.git
cd mariadb-columnstore-data-adapters
mkdir build && cd build
cmake -DKAFKA=OFF -DMAX_CDC=OFF -DTEST_RUNNER=ON -G "Visual Studio 15 2017 Win64" ..
cmake --build . --config RelWithDebInfo
ctest -C RelWithDebInfo -V

Windows testing

For testing you have to set the environment variables MCSAPI_CS_TEST_IP, MCSAPI_CS_TEST_PASSWORD, MCSAPI_CS_TEST_USER, and COLUMNSTORE_INSTALL_DIR.

You further have to set powershell's execution policy to Unrestricted .

空文件

发行版

暂无发行版

贡献者

全部

近期动态

4年多前创建了仓库
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_mariadb-corporation/mariadb-columnstore-data-adapters.git
git@gitee.com:mirrors_mariadb-corporation/mariadb-columnstore-data-adapters.git
mirrors_mariadb-corporation
mariadb-columnstore-data-adapters
mariadb-columnstore-data-adapters
master

搜索帮助