[jira] [Created] (FLINK-3292) Bug in flink-jdbc. Not all JDBC drivers supported

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3292) Bug in flink-jdbc. Not all JDBC drivers supported

Shang Yuanchun (Jira)
Subhobrata Dey created FLINK-3292:
-------------------------------------

             Summary: Bug in flink-jdbc. Not all JDBC drivers supported
                 Key: FLINK-3292
                 URL: https://issues.apache.org/jira/browse/FLINK-3292
             Project: Flink
          Issue Type: Bug
          Components: other
    Affects Versions: 1.0.0
            Reporter: Subhobrata Dey
            Priority: Minor
             Fix For: 1.0.0


Hello,

In method open in JDBCInputFormat.java, while using dbConn.createStatement, the resultSetType & resultSetConcurrency are hardcoded.
These two fields may vary with different JDBC drivers & hence it fails in a few cases like SAP HANA Jdbc driver.
There are two variants of the method dbCon.createStatement, one with parameters & the other without  parameters. Both should be supported.

Thanks & regards,
Subhobrata



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)