Hi all,
I was looking at the Example section of Querying State:
The two issues I ran into while trying out this code snippet were: 1. The query request would fail with a NPE, because the client had a null ExecutionConfig. If I added: client.setExecutionConfig(new ExecutionConfig()); Then everything seemed OK, but this doesn’t feel like the right way to solve that problem :) 2. The call to response.get() returns a ValueState<Tuple2<Long, Long>>, not the Tuple2 itself. So it seems like there’s a missing “.value()”. Regards, — Ken -------------------------- Ken Krugler +1 530-210-6378 http://www.scaleunlimited.com Custom big data solutions & training Flink, Solr, Hadoop, Cascading & Cassandra |
Hi Ken, About the first question, the way of fixing is right. About the second question, you are right, the "response.get()" missed 'ValueState<>'. Can you create a JIRA issue or fix it if you want. Thanks, vino. Ken Krugler <[hidden email]> 于2018年9月20日周四 上午6:27写道:
|
Free forum by Nabble | Edit this page |