Skip to content

Instantly share code, notes, and snippets.

@toff63
Created November 28, 2015 18:13
Show Gist options
  • Save toff63/1cf24a89fc1b46f424cb to your computer and use it in GitHub Desktop.
Save toff63/1cf24a89fc1b46f424cb to your computer and use it in GitHub Desktop.
create schema Temperature(place string, temperature double);

create window HallTemperature.win:length(2) as Temperature;
insert into HallTemperature select * from Temperature(place='hall');

create window BedroomTemperature.win:length(2) as Temperature;
insert into BedroomTemperature select * from Temperature(place='bedroom');
@Nthole
Copy link

Nthole commented Nov 28, 2015

You remind me of my time when i was at University

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment