ericphanson opened a new issue, #452:
URL: https://github.com/apache/arrow-julia/issues/452

   As well as Onda.jl
   
   E.g. [this 
test](https://github.com/beacon-biosignals/Legolas.jl/blob/321b19c88c5c7e07c616278f2aaf876495533667/test/runtests.jl#L459-L468)
 fails with the error:
   ```julia
   ┌ Warning: The `Tables.Schema` of the `Arrow.Table` read via 
`Legolas.read(io_or_path)` does not appear to
   │ comply with the `Legolas.SchemaVersion` indicated by the table's metadata 
(`SchemaVersion("test.parent", 1)`). Try invoking
   │ `Legolas.read(io_or_path; validate=false)` to inspect the table.
   └ @ Legolas ~/Legolas.jl/src/tables.jl:171
   miscellaneous Legolas/src/tables.jl tests: Error During Test at 
/Users/eph/Legolas.jl/test/runtests.jl:468
     Test threw exception
     Expression: t == [NamedTuple(ParentV1(r)) for r = 
Tables.rows(Legolas.read(path))]
     ArgumentError: Tables.Schema violates Legolas schema `test.parent@1`:
      - Incorrect type: `x` expected `<:Vector`, found `SubArray{Int64, 1, 
Arrow.Primitive{Int64, Vector{Int64}}, Tuple{UnitRange{Int64}}, true}`
     Provided Tables.Schema:
      :x  SubArray{Int64, 1, Arrow.Primitive{Int64, Vector{Int64}}, 
Tuple{UnitRange{Int64}}, true}
      :y  String
     Stacktrace:
      [1] validate(ts::Tables.Schema{(:x, :y), Tuple{SubArray{Int64, 1, 
Arrow.Primitive{Int64, Vector{Int64}}, Tuple{UnitRange{Int64}}, true}, 
String}}, sv::SchemaVersion{Symbol("test.parent"), 1})
        @ Legolas ~/Legolas.jl/src/schemas.jl:312
      [2] read(io_or_path::MyPath; validate::Bool)
        @ Legolas ~/Legolas.jl/src/tables.jl:169
      [3] read(io_or_path::MyPath)
        @ Legolas ~/Legolas.jl/src/tables.jl:159
      [4] macro expansion
        @ 
~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Test/src/Test.jl:464
 [inlined]
      [5] macro expansion
        @ ~/Legolas.jl/test/runtests.jl:468 [inlined]
      [6] macro expansion
        @ 
~/.julia/juliaup/julia-1.8.5+0.aarch64.apple.darwin14/share/julia/stdlib/v1.8/Test/src/Test.jl:1363
 [inlined]
      [7] top-level scope
        @ ~/Legolas.jl/test/runtests.jl:459
   ┌ Warning: The `Tables.Schema` of the `Arrow.Table` read via 
`Legolas.read(io_or_path)` does not appear to
   │ comply with the `Legolas.SchemaVersion` indicated by the table's metadata 
(`SchemaVersion("haha", 3)`). Try invoking
   │ `Legolas.read(io_or_path; validate=false)` to inspect the table.
   └ @ Legolas ~/Legolas.jl/src/tables.jl:171
   ```


-- 
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