0151bucket.mql 676 B

1234567891011121314151617181920212223242526272829303132
  1. select * from /mix/mtx where xprom is null
  2. /**
  3. output()
  4. onerror(continue,"has't index")
  5. **/
  6. ;
  7. select * from /mix/mtz where zprom is null
  8. /**
  9. output()
  10. onerror(continue,"has't index")
  11. **/
  12. ;
  13. select id,xprom.time('2025-01-02','2025-01-04').find(name='mtx').count() from /mix/mtx
  14. where id="mtx:x5" and xprom.time('2025-01-02','2025-01-04').find(name='mtx').count().assert($1=96)
  15. /**
  16. output()
  17. match("id","mtx:x5","xprom.0.2",96)
  18. **/
  19. ;
  20. select id,zprom.time('2025-01-02','2025-01-04').find(name='mtz').count() from /mix/mtz
  21. where id="mtz:z5" and zprom.time('2025-01-02','2025-01-04').find(name='mtz').count().assert($1=96)
  22. /**
  23. output()
  24. match("id","mtz:z5","zprom.0.2",96)
  25. **/
  26. ;