DataToolkit.jl icon indicating copy to clipboard operation
DataToolkit.jl copied to clipboard

Lazy loading for Arrow.jl

Open jfb-h opened this issue 1 year ago • 2 comments

In the wake of tecosaur/DataToolkitCommon.jl#16 you activated lazy loading for ArchGDAL so that .gpkg data can be loaded even when ArchGDAL was not explicitly imported by the user before. The same seems to be the issue for Arrow files where currently you get an ERROR: TransformerError: Data set ... could not be loaded in any form. when you don't load either the Arrow or DataFrames package first.

jfb-h avatar Feb 21 '24 12:02 jfb-h

I think it should suggest now that you need to load the Arrow or DataFrames.

Regarding ArchGDAL, IIRC you still need to load it first? At least in the unit tests it is.

tecosaur avatar May 16 '24 09:05 tecosaur

I'll check again, maybe I got something mixed up. When and how to load and add packages felt a little bit confusing sometimes, if I remember correctly.

jfb-h avatar May 22 '24 14:05 jfb-h

The loading code has been largely rewritten at this point, and so I'll mark this as resolved unless I hear otherwise.

tecosaur avatar May 19 '25 17:05 tecosaur