Skip to content

Commit

Permalink
Merge branch 'main' into db/dataAPImeths
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj authored Apr 2, 2021
2 parents 1ede9d7 + df08c9c commit 64724a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arrowtypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ default(::Type{NamedTuple{names, types}}) where {names, types} = NamedTuple{name

function promoteunion(T, S)
new = promote_type(T, S)
return new === Any ? Union{T, S} : new
return isabstracttype(new) ? Union{T, S} : new
end

# lazily call toarrow(x) on getindex for each x in data
Expand Down

0 comments on commit 64724a3

Please sign in to comment.