program11.yql 513 B

12345678910111213
  1. (
  2. #comment
  3. (let mr_source (DataSource 'yt 'plato))
  4. (let x (Read! world mr_source (Key '('table (String 'Input))) '('key 'subkey 'value) '()))
  5. (let world (Left! x))
  6. (let table1 (Right! x))
  7. (let tresh (ToString (+ (Int32 '100) (Int32 '200))))
  8. (let table1low (Filter table1 (lambda '(item) (< (Member item 'key) tresh))))
  9. (let mr_sink (DataSink 'yt (quote plato)))
  10. (let world (Write! world mr_sink (Key '('table (String 'Output))) table1low '('('mode 'append))))
  11. (let world (Commit! world mr_sink))
  12. (return world)
  13. )