From b3805f393e39bd8655653ad290cfee050b5f0b89 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Mon, 26 Feb 2024 17:31:05 +0100 Subject: [PATCH] fix: do not use semicolon at the end of SQL query (#157) --- docker-compose/onkostar-db-connector.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose/onkostar-db-connector.json b/docker-compose/onkostar-db-connector.json index 86256297..50c04786 100644 --- a/docker-compose/onkostar-db-connector.json +++ b/docker-compose/onkostar-db-connector.json @@ -8,7 +8,7 @@ "connection.password": "${file:/tmp/kafka-connect-passwords.properties:onkostar-db-password}", "schema.pattern": "ONKOSTAR", "topic.prefix": "onkostar.MELDUNG_EXPORT", - "query": "SELECT * FROM (SELECT YEAR(e.diagnosedatum) AS YEAR, versionsnummer AS VERSIONSNUMMER, lme.id AS ID, CONVERT(lme.xml_daten using utf8) AS XML_DATEN FROM lkr_meldung_export lme JOIN lkr_meldung lm ON lme.lkr_meldung = lm.id JOIN erkrankung e ON lm.erkrankung_id = e.id WHERE typ != '-1' AND versionsnummer IS NOT NULL AND lme.XML_DATEN LIKE '%ICD_Version%') o;", + "query": "SELECT * FROM (SELECT YEAR(e.diagnosedatum) AS YEAR, versionsnummer AS VERSIONSNUMMER, lme.id AS ID, CONVERT(lme.xml_daten using utf8) AS XML_DATEN FROM lkr_meldung_export lme JOIN lkr_meldung lm ON lme.lkr_meldung = lm.id JOIN erkrankung e ON lm.erkrankung_id = e.id WHERE typ != '-1' AND versionsnummer IS NOT NULL AND lme.XML_DATEN LIKE '%ICD_Version%') o", "mode": "incrementing", "incrementing.column.name": "ID", "validate.non.null": "true",