[jira] [Created] (FLINK-13490) Fix return null in JDBCUtils::getFieldFromResultSet

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

[jira] [Created] (FLINK-13490) Fix return null in JDBCUtils::getFieldFromResultSet

Shang Yuanchun (Jira)
Caizhi Weng created FLINK-13490:
-----------------------------------

             Summary: Fix return null in JDBCUtils::getFieldFromResultSet
                 Key: FLINK-13490
                 URL: https://issues.apache.org/jira/browse/FLINK-13490
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / JDBC
            Reporter: Caizhi Weng
             Fix For: 1.9.0, 1.10.0


The null checking in `JDBCUtils::getFieldFromResultSet` is incorrect. Under the current implementation, if one column is null in the result set, the following calls to this method using the same result set will always return null, no matter what the content of the column is.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)