You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2020/04/10 08:01:27 UTC

[GitHub] [zeppelin] zjffdu opened a new pull request #3729: [ZEPPELIN-4740]. Display streaming data in flink table api

zjffdu opened a new pull request #3729: [ZEPPELIN-4740]. Display streaming data in flink table api
URL: https://github.com/apache/zeppelin/pull/3729
 
 
   ### What is this PR for?
   This PR is to allow user to display streaming data in flink table api just like displaying streaming data in stream sql (%flink.ssql). I implement it in both scala and pyflink. 
   
   Here's one example in flink scala table api
   
   ```
   val table = stenv.from("cdn_access_log")
      .select("uuid, ip_to_province(client_ip) as province, response_size, request_time")
      .groupBy("province")
      .select( "province, count(uuid) as access_count, sum(response_size) as total_download,  sum(response_size) * 1.0 / sum(request_time) as download_speed")
   z.show(table, streamType="update")
   ```
   
   
   ### What type of PR is it?
   [Feature ]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-4740
   
   ### How should this be tested?
   Unit test is added and also verify it manually.
   
   ### Screenshots (if appropriate)
   ![image](https://user-images.githubusercontent.com/164491/78974396-75a59580-7b44-11ea-91be-e962d630e739.png)
   
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   

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


With regards,
Apache Git Services

[GitHub] [zeppelin] asfgit closed pull request #3729: [ZEPPELIN-4740]. Display streaming data in flink table api

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #3729: [ZEPPELIN-4740]. Display streaming data in flink table api
URL: https://github.com/apache/zeppelin/pull/3729
 
 
   

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


With regards,
Apache Git Services