tuor713 / trino-kdb

Trino plugin for kdb+
Apache License 2.0
3 stars 2 forks source link

migrate to javakdb 2.0 #9

Open zeddit opened 11 months ago

zeddit commented 11 months ago

change log:

  1. change pom.xml dependency to include javakdb-2.0-BETA-1.
  2. change src/main/java/org/uwh/trino/kdb/KDBClient.java and src/main/java/org/uwh/trino/kdb/KDBType.java to import com.kx.c rather than import kx.c because javakdb-2.0 change its groupId.
  3. in src/main/java/org/uwh/trino/kdb/KDBTypes.java, change the datatypes related to datetime because javakdb-2.0 change its types.

using mvn clean package -Dmaven.test.skip to build the artifacts. I tried to migrate the code to support trino-421, but it failed because its quite complicated to setup trino scaffold of new version.

zeddit commented 11 months ago

for trino scaffold of new version. I found a project named trino-plugin-archetype which could create scaffold folder whose url is https://github.com/nineinchnick/trino-plugin-archetype, it manages library dependencies especially the versions, however it's also difficult to setup.

zeddit commented 11 months ago

besides, could you please give me some advices on trino performance optimization for kdb backend. great thanks for your help.