[jira] [Created] (FLINK-16813) JDBCInputFormat doesn't correctly map Short

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

[jira] [Created] (FLINK-16813) JDBCInputFormat doesn't correctly map Short

Shang Yuanchun (Jira)
Bowen Li created FLINK-16813:
--------------------------------

             Summary:  JDBCInputFormat doesn't correctly map Short
                 Key: FLINK-16813
                 URL: https://issues.apache.org/jira/browse/FLINK-16813
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / JDBC
    Affects Versions: 1.10.0
            Reporter: Bowen Li
            Assignee: Bowen Li
             Fix For: 1.11.0


currently when JDBCInputFormat converts a JDBC result set row to Flink Row, it doesn't check the type returned from jdbc result set. Problem is that object from jdbc result set doesn't always match the corresponding type in relational db. E.g. a short column in Postgres actually returns an Integer via jdbc.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)