R/schema.R
as_schema.Rd
Convert an object to an Arrow Schema
as_schema(x, ...) # S3 method for Schema as_schema(x, ...) # S3 method for StructType as_schema(x, ...)
An object to convert to a schema()
schema()
Passed to S3 methods.
A Schema object.
as_schema(schema(col1 = int32())) #> Schema #> col1: int32