[
https://issues.apache.org/jira/browse/FLINK-21415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313237#comment-17313237
]
Jark Wu commented on FLINK-21415:
---------------------------------
I think this is not a bug, but is by design. But I can understand users may not
want to cache the missing key.
We can introduce a new table option, e.g.
{{lookup.cache.caching-missing-key=false}} to disable caching missing key.
I changed the issue type to new feature.
> 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, Table SQL / Ecosystem
> 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)