mirror of
https://github.com/valitydev/clickhouse-sink-connector.git
synced 2024-11-06 02:25:18 +00:00
Added unit test directory to pom.xml
This commit is contained in:
parent
994dc54113
commit
d623cb5937
3
.gitignore
vendored
3
.gitignore
vendored
@ -49,3 +49,6 @@ tests/image/cache
|
||||
|
||||
# Ignore DevSpace cache and log folder
|
||||
/.devspace
|
||||
|
||||
# Visual studio code
|
||||
.vscode/
|
||||
|
4
pom.xml
4
pom.xml
@ -275,6 +275,10 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<!-- Define test source directory -->
|
||||
<testSourceDirectory>${project.basedir}/src/test</testSourceDirectory>
|
||||
|
||||
</build>
|
||||
<dependencies>
|
||||
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-fips -->
|
||||
|
@ -21,6 +21,11 @@ public class ClickHouseAutoCreateTable {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(ClickHouseAutoCreateTable.class.getName());
|
||||
|
||||
/**
|
||||
* Function to create clickhouse create table
|
||||
* syntax.
|
||||
* @param fields
|
||||
*/
|
||||
public void createClickHouseTableSyntax(Field[] fields) {
|
||||
|
||||
ClickHouseDataTypeMapper mapper = new ClickHouseDataTypeMapper();
|
||||
|
@ -74,9 +74,11 @@ public class ClickHouseStruct {
|
||||
// Inheritance doesn't work because of different package
|
||||
// error, composition.
|
||||
@Getter
|
||||
@Setter
|
||||
Struct beforeStruct;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
Struct afterStruct;
|
||||
|
||||
@Getter
|
||||
|
Loading…
Reference in New Issue
Block a user