Add cml-calcite module (#9)

This commit is contained in:
Kuan-Po Tseng
2022-05-23 15:41:01 +08:00
committed by GitHub
parent 86ffcf6f1e
commit 9de9275bd1
2 changed files with 74 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>cml-root</artifactId>
<groupId>io.cml</groupId>
<version>1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>cml-calcite</artifactId>
<name>cml-calcite</name>
<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
</properties>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>io.cml</groupId>
<artifactId>trino-parser</artifactId>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
+18
View File
@@ -41,6 +41,7 @@
<dep.antlr.version>4.9</dep.antlr.version>
<dep.airlift.version>203</dep.airlift.version>
<dep.calcite.version>1.30.0</dep.calcite.version>
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
<dep.drift.version>1.14</dep.drift.version>
<dep.errorprone.version>2.13.0</dep.errorprone.version>
@@ -64,6 +65,7 @@
</properties>
<modules>
<module>core/cml-calcite</module>
<module>core/cml-main</module>
<module>core/cml-postgres-wire-protocol</module>
<module>core/cml-server</module>
@@ -234,6 +236,22 @@
<version>${dep.antlr.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>${dep.calcite.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- TODO: move this to Airbase -->
<dependency>
<groupId>org.apache.commons</groupId>