# TiBigData **Repository Path**: jskson/TiBigData ## Basic Information - **Project Name**: TiBigData - **Description**: 2024-4-25 wjf 初始化 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-25 - **Last Updated**: 2024-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TiBigData [License](https://github.com/pingcap-incubator/TiBigData/blob/master/LICENSE) --- [![EN doc](https://img.shields.io/badge/document-English-blue.svg)](README.md) [![CN doc](https://img.shields.io/badge/文档-中文版-blue.svg)](README_zh_CN.md) --- TiBigData 是为了整合 TiDB 与大数据而诞生的项目,它借助 Flink/Presto/MapReduce 等分布式计算框架,充分发挥 TiDB 分布式集群的优势,为 TiDB 在大数据场景下的使用带来良好的用户体验。 ## License TiBigData project is under the Apache 2.0 license. See the [LICENSE](./LICENSE) file for details. ## 代码风格 TiBigData 使用 [Google Code Style](https://github.com/google/styleguide). 使用以下命令格式化代码: ```bash mvn com.coveo:fmt-maven-plugin:format ``` ## 快速开始 **编译 TiBigData 需要 git, 直接下载源码编译暂不支持。** [TiDB 与 Flink 集成(批处理)](./flink/README_zh_CN.md) [TiDB 与 Flink 集成(流批一体)](./flink/README_unified_batch_streaming_zh_CN.md) [TiDB 与 PrestoSQL 集成 ***- 已废弃***](./prestosql/README_zh_CN.md) [TiDB 与 Trino 集成](./trino/README_zh_CN.md) [TiDB 与 PrestoDB 集成](./prestodb/README_zh_CN.md) [TiDB 与 MapReduce 集成](./mapreduce/README_zh_CN.md) [TiDB 与 Hive 集成](./hive/README_zh_CN.md) ## 运行测试 你可以使用下面的命令来运行集成测试,注意将地址、用户名、密码等参数换成自己真实的。 ``` export TIDB_HOST="127.0.0.1" export TIDB_PORT="4000" export TIDB_USER="root" export TIDB_PASSWORD="" mvn clean test-compile failsafe:integration-test -am -pl ${MODULE_NAME} ``` 使用下面的命令来运行单元测试 ``` export TIDB_HOST="127.0.0.1" export TIDB_PORT="4000" export TIDB_USER="root" export TIDB_PASSWORD="" mvn clean test-compile failsafe:integration-test -am -pl ${MODULE_NAME} ``` ## 编写集成测试 首先,需要确保模块含有以下依赖: ```xml io.tidb bigdata-test ${project.version} test ``` 然后,我们使用 JUnit 的 Category 来区分集成测试,用法如下: ```java import io.tidb.bigdata.test.IntegrationTest; @Category(IntegrationTest.class) public class ConnectorsPluginTest { } ``` ## 社区 Lark / Feishu Group: ## 致谢 ### YourKit ![YourKit Logo](https://www.yourkit.com/images/yklogo.png) YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor. ### IntelliJ IDEA [IntelliJ IDEA](https://www.jetbrains.com/?from=TiBigData) is a Java integrated development environment (IDE) for developing computer software. It is developed by JetBrains (formerly known as IntelliJ), and is available as an Apache 2 Licensed community edition, and in a proprietary commercial edition. Both can be used for commercial development.