You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Caizhi Weng (JIRA)" <ji...@apache.org> on 2019/07/30 05:27:00 UTC

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

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)