Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Arrow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ This implementation supports the 1.0 version of the specification, including sup
It currently doesn't include support for:
* Tensors or sparse tensors
* Flight RPC
* C data interface

Third-party data formats:
* csv and parquet support via the existing [CSV.jl](https://github.com/JuliaData/CSV.jl) and [Parquet.jl](https://github.com/JuliaIO/Parquet.jl) packages
Expand All @@ -56,6 +55,8 @@ using DataAPI,
StringViews

export ArrowTypes
export ArrowSchema,
ArrowArray, CImportedArray, CImportedTable, from_c_data, to_c_data, release_c_data

using Base: @propagate_inbounds
import Base: ==
Expand All @@ -79,6 +80,7 @@ include("table.jl")
include("write.jl")
include("append.jl")
include("show.jl")
include("cdatainterface.jl")

const ZSTD_COMPRESSOR = Lockable{ZstdCompressor}[]
const ZSTD_DECOMPRESSOR = Lockable{ZstdDecompressor}[]
Expand Down Expand Up @@ -138,6 +140,10 @@ function __init__()
resize!(empty!(ZSTD_COMPRESSOR), nt)
resize!(empty!(LZ4_FRAME_DECOMPRESSOR), nt)
resize!(empty!(ZSTD_DECOMPRESSOR), nt)
global _SCHEMA_RELEASE_CFUNC =
@cfunction(_release_exported_schema, Cvoid, (Ptr{ArrowSchema},))
global _ARRAY_RELEASE_CFUNC =
@cfunction(_release_exported_array, Cvoid, (Ptr{ArrowArray},))
return
end

Expand Down
Loading