Skip to content

Commit de95d68

Browse files
author
Pietro Vertechi
committed
fix schema for structs
1 parent 80971a5 commit de95d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Tables.columnaccess(::Type{<:StructVector}) = true
66
Tables.rows(s::StructVector) = s
77
Tables.columns(s::StructVector) = fieldarrays(s)
88

9-
Tables.schema(s::StructVector) = Tables.Schema(eltype(s))
9+
Tables.schema(s::StructVector) = Tables.Schema(staticschema(eltype(s)))

0 commit comments

Comments
 (0)