quinnj commented on issue #282:
URL: https://github.com/apache/arrow-julia/issues/282#issuecomment-1036687958


   Hmmm, yeah, this shouldn't be too bad to support. I think the easiest 
approach would be to hook into the Tables.jl interface for this. We could 
create a pseudo-table type like:
   ```julia
   struct ArrayOfArraysTable{T}
       source::T
   end
   Tables.columns(x::ArrayOfArraysTable) = x
   Tables.getcolumn(x::ArrayOfArraysTable, i::Int) = x.source[i]
   ```
   So that should mostly work on the tables side of things in terms of the 
data. For the schema message writing, we'll get 
`Tables.schema(x::ArrayOfArraysTable) = nothing` as the fallback, so I think 
then we just need another overload for `makeschema(b, sch::nothing, columns)`, 
where we create the schema message but with no column names.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to