[ 
https://issues.apache.org/jira/browse/FLINK-21415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288130#comment-17288130
 ] 

Jark Wu commented on FLINK-21415:
---------------------------------

I think this is by design. We also cache missing keys to reduce the IO between 
database and Flink. The missing keys will be expired after cache TTL, just the 
same with the existing keys.

> JDBC does not query data, and the cache will store an ArrayList without data
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-21415
>                 URL: https://issues.apache.org/jira/browse/FLINK-21415
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / JDBC
>    Affects Versions: 1.12.1
>            Reporter: Shuai Xia
>            Priority: Major
>              Labels: pull-request-available
>
> JDBC does not query data, and the cache will store an ArrayList without data.
> We should add size judgment.



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

Reply via email to