MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / field

Method field

pipeline/src/aggregator/model_patch.rs:75–88  ·  view source on GitHub ↗
(
        &self,
        field_args: datafusion::logical_expr::function::WindowUDFFieldArgs,
    )

Source from the content-addressed store, hash-verified

73 }
74
75 fn field(
76 &self,
77 field_args: datafusion::logical_expr::function::WindowUDFFieldArgs,
78 ) -> Result<arrow_schema::Field> {
79 Ok(Field::new_struct(
80 field_args.name(),
81 vec![
82 Field::new("previous_data", DataType::Binary, true),
83 Field::new("data", DataType::Binary, true),
84 Field::new("event_height", DataType::UInt32, true),
85 ],
86 true,
87 ))
88 }
89}
90
91type DataContainerPatch = EventDataContainer<Vec<PatchOperation>>;

Callers 15

fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45

Calls 1

nameMethod · 0.45

Tested by 2

fmtMethod · 0.36
fmtMethod · 0.36