sijie commented on a change in pull request #3265:  [flink-consumer-source] fix 
up streaming to be consistent with batch
URL: https://github.com/apache/pulsar/pull/3265#discussion_r244549492
 
 

 ##########
 File path: 
examples/flink-consumer-source/src/main/java/org/apache/flink/streaming/connectors/pulsar/example/PulsarConsumerSourceWordCountToAvroTableSink.java
 ##########
 @@ -103,10 +104,15 @@ public static void main(String[] args) throws Exception {
                 );
 
         tableEnvironment.registerDataStream("wc",wc);
-
         Table table = tableEnvironment.sqlQuery("select * from wc");
+        // note: table schema is consistent with avro
+        table.printSchema();
 
 Review comment:
   is this for debugging?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to