Rebekka Moyson created BEAM-12027:
-------------------------------------
Summary: ReadFromJDBC sql server not working
Key: BEAM-12027
URL: https://issues.apache.org/jira/browse/BEAM-12027
Project: Beam
Issue Type: Bug
Components: cross-language
Affects Versions: 2.28.0
Environment: 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)
Reporter: Rebekka Moyson
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)