Any demo/code/best-practice about downsampling

#1

I can not find any official demo/sample-code/best-practice about time series downsampling for cratedb from google, github or crate.io, especially for IOT data. Could anyone help, Thanks!