Skip to content

Commit

Permalink
fix: do not use semicolon at the end of SQL query (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer authored Feb 26, 2024
1 parent 03c1f4b commit b3805f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose/onkostar-db-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b3805f3

Please sign in to comment.