macro_rules! setup_pipeline {
($pipeline:expr) => { ... };
}
Expand description
This macro is test only, do not use it in production. The schema_info cannot be used in auto-transform ts-infer mode for lacking the ts schema.
Usage:
let (pipeline, schema_info, pipeline_def, pipeline_param) = setup_pipeline!(pipeline);
let pipeline_ctx = PipelineContext::new(&pipeline_def, &pipeline_param, Channel::Unknown);