PureUdf.yql 305 B

12345678910
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let world (Configure! world config 'PureDataSource 'yt))
  5. (let res_sink (DataSink 'result))
  6. (let data (Apply (Udf 'SimpleUdf.Echo) (String 'abc)))
  7. (let world (Write! world res_sink (Key) data '('('type))))
  8. (let world (Commit! world res_sink))
  9. (return world)
  10. )