R/schema.R
unify_schemas.Rd
合并和协调 schemas
unify_schemas(..., schemas = list(...))
要合并的 Schemas
或者,Schema 的列表
一个 Schema,其中包含输入中包含的字段的并集,如果 schemas 中有任何一个是 NULL,则返回 NULL
Schema
schemas
NULL
a <- schema(b = double(), c = bool()) z <- schema(b = double(), k = utf8()) unify_schemas(a, z) #> Schema #> b: double #> c: bool #> k: string