Created
January 23, 2019 06:42
-
-
Save polleyg/5eca9b45abf6fbcc3543cc7ad18556d8 to your computer and use it in GitHub Desktop.
beam_sql_part_3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[..] | |
.apply("transform_sql", SqlTransform.query( | |
"SELECT lang, SUM(views) as sum_views " + | |
"FROM PCOLLECTION GROUP BY lang") | |
) | |
[..] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment