Added unit test directory to pom.xml

This commit is contained in:
Kanthi Subramanian 2022-07-03 19:22:14 -04:00
parent 994dc54113
commit d623cb5937
4 changed files with 14 additions and 0 deletions

3
.gitignore vendored
View File

@ -49,3 +49,6 @@ tests/image/cache
# Ignore DevSpace cache and log folder
/.devspace
# Visual studio code
.vscode/

View File

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

View File

@ -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();

View File

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