Github user uce commented on the issue:

    https://github.com/apache/flink/pull/2051
  
    Regarding local vs. cluster mode: that's on purpose, but we can certainly 
change that behaviour. For now, you would have to run in cluster mode. 
    
    Regarding the serializer: assuming that it is a Flink `Tuple2<Long, 
String>` you can use the following to get the serializer:
    
    ```java
    TypeSerializer<?>[] fieldSerializers = new TypeSerializer[] {
        StringSerializer.INSTANCE,
        LongSerializer.INSTANCE
    };
    
    TypeSerializer<Tuple2<String, Long>> serializer = new TupleSerializer<>(
        (Class<Tuple2<String, Long>>) (Class<?>) Tuple2.class, 
fieldSerializers);
    ```
    
    **Just to make sure that we are on the same page: the state of this PR is 
not the final queryable state API, but only the initial low-level version.** 
Really looking forward to further feedback. Thank you for trying it out at this 
stage. :-)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to