Skip to content

sunnyholyd/TiBigData

 
 

Repository files navigation

TiBigData

License


EN doc CN doc

Misc BigData components for TiDB, Presto, Flink and MapReduce connectors for example.

License

TiBigData project is under the Apache 2.0 license. See the LICENSE file for details.

Code style

Google Code Style.

Getting Started

Flink-TiDB-Connector

PrestoSQL-TiDB-Connector

Trino-TiDB-Connector

PrestoDB-TiDB-Connector

MapReduce-TiDB-Connector

Hive-TiDB-Storage-Handler

Run Tests

Use the following command to run the integration test.

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}

Use the following command to run the unit test.

mvn clean test -am -pl ${MODULE_NAME}

Write integration test

First, make sure the module add dependency:

 <dependency>
      <groupId>io.tidb</groupId>
      <artifactId>test</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
</dependency>

Second, use JUnit Category to clarify integration-test:

import io.tidb.bigdata.test.IntegrationTest;

@Category(IntegrationTest.class)
public class ConnectorsPluginTest {
}

Community

Lark / Feishu Group:

Supported by

YourKit

YourKit Logo

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 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.

About

BigData components for TiDB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.1%
  • Other 0.9%