PartialCall.yql 432 B

12345678910111213141516
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let world (Configure! world config 'PureDataSource 'yt))
  5. (let res_sink (DataSink 'result))
  6. (let udf (Udf 'SimpleUdf.EchoWithPrefix))
  7. (let x (String 'aaa))
  8. (let y (String 'bbb))
  9. (let data (Apply udf x))
  10. (let world (Write! world res_sink (Key) data '()))
  11. (let data (Apply udf x y))
  12. (let world (Write! world res_sink (Key) data '()))
  13. (let world (Commit! world res_sink))
  14. (return world)
  15. )