[
https://issues.apache.org/jira/browse/FLINK-16813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bowen Li updated FLINK-16813:
-----------------------------
Description:
currently when JDBCInputFormat converts a JDBC result set row to Flink Row, it
doesn't check the type returned from jdbc result set.
Short from jdbc result set actually returns an Integer, and bytes need to be
converted to byte[]
was:
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 short from jdbc result set actually returns an Integer.
> JDBCInputFormat doesn't correctly map Short and Bytes
> ------------------------------------------------------
>
> Key: FLINK-16813
> URL: https://issues.apache.org/jira/browse/FLINK-16813
> Project: Flink
> Issue Type: Bug
> Components: Connectors / JDBC
> Affects Versions: 1.10.0
> Reporter: Bowen Li
> Assignee: Bowen Li
> Priority: Major
> 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.
> Short from jdbc result set actually returns an Integer, and bytes need to be
> converted to byte[]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)