SqlColumnOrderFromYson.yqls 315 B

12345678910
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let res_sink (DataSink 'result))
  5. (let data (SqlColumnOrderFromYson '"[StructType;[[foo;[DataType;Int32]];[bar;[DataType;String]]]]"))
  6. (let world (Write! world res_sink (Key) (FormatType (TypeOf data))'('('type))))
  7. (let world (Commit! world res_sink))
  8. (return world)
  9. )