Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Won't Fix
-
2.28.0
-
MacOs, apache-beam python SDK, java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
Description
I want to use apache_beam.io.jdbc.ReadFromJdbc to read from a SQL server. When executing locally with the python SDK and driver_class_name='com.microsoft.sqlserver.jdbc.SQLServerDriver', I always get the error java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver.
Have JDK 8 installed.
Used beam (on dataflow runner) a lot with python and want to make use of this interesting portability feature to read from jdbc with that Java Expansion service.
Not sure what is wrong and could not find a lot of documentation about this jdbc io feature and how to use it as python developer.