CallableAsLambda.yqls 279 B

1234567891011
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let res_sink (DataSink 'result))
  5. (let udf (Udf 'SimpleUdf.Echo))
  6. (let data (Map (AsList (String 'a) (String 'b)) udf))
  7. (let world (Write! world res_sink (Key) data '('('type))))
  8. (let world (Commit! world res_sink))
  9. (return world)
  10. )