a guest Feb 19th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- var period = 31d //Tried 1mo here but is not working.
- var data = batch
- |query('SELECT "tps_peak", "t_license_exceeded" FROM "' + db + '"."' + rp + '"."' + measurement + '" ')
- .cron('0 0 1 * *') //1st day of each month.
- |where(lambda: ("t_license_exceeded" == 'true'))
RAW Paste Data