embulk / embulk-input-jdbc

MySQL, PostgreSQL, Redshift and generic JDBC input plugins for Embulk
Other
102 stars 74 forks source link

sqlserver plugin supports driver_path option #269

Open hiroyuki-sato opened 1 month ago

hiroyuki-sato commented 1 month ago

This PR supports driver_path in the sqlserver plugin. Release to #266

./embulk-0.11.4.jar run config.yml
...
2024-09-12 19:50:01.547 +0900 [INFO] (main): Started Embulk v0.11.4
...
2024-09-12 19:50:04.813 +0900 [INFO] (0001:transaction): Loaded JRuby runtime 9.4.8.0
2024-09-12 19:50:04.933 +0900 [INFO] (0001:transaction): Loaded plugin embulk-input-sqlserver (0.14.0)
2024-09-12 19:50:05.077 +0900 [INFO] (0001:transaction): Loaded plugin embulk-output-stdout
2024-09-12 19:50:05.396 +0900 [WARN] (0001:transaction): "UTC" is recognized as "Z" to be compatible with the legacy style.
...
2024-09-12 19:50:05.694 +0900 [INFO] (0001:transaction): Using JDBC Driver 9.2.1.0

Tesed config

in:
  type: sqlserver
  driver_path: /tmp/mssql-jdbc-9.2.1.jre8.jar
  host: 10.10.10.10
  user: user
  password: password
  table: SYSOBJECTS
  database: master
out:
  type: stdout
hiroyuki-sato commented 1 month ago

Ah, CI has been failed. Change to Draft.