You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Chamikara Madhusanka Jayalath (Jira)" <ji...@apache.org> on 2021/05/17 23:55:00 UTC

[jira] [Commented] (BEAM-12027) ReadFromJDBC sql server not working

    [ https://issues.apache.org/jira/browse/BEAM-12027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346492#comment-17346492 ] 

Chamikara Madhusanka Jayalath commented on BEAM-12027:
------------------------------------------------------

I'll close for now but please reopen if this is still an issue.

> ReadFromJDBC sql server not working
> -----------------------------------
>
>                 Key: BEAM-12027
>                 URL: https://issues.apache.org/jira/browse/BEAM-12027
>             Project: Beam
>          Issue Type: Improvement
>          Components: cross-language, io-java-jdbc
>    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
>            Priority: P2
>              Labels: ClassNotFoundException, jdbc, python
>
> 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)