Skip to content

Does seems to work; #62

@xiaodaigh

Description

@xiaodaigh
using Distributed
addprocs()

using CSV, FileTrees

CSV.write("c:/tmp/meh/a.csv", DataFrame(a = 1:3))
CSV.write("c:/tmp/meh/b.csv", DataFrame(a = 1:3))

a = FileTrees.FileTree("c:/tmp/meh", lazy=true)


b = FileTrees.load(a, lazy = true) do file
    1
end;

ok = mapvalues(b) do y
    y + 1
end;

ok2 = reducevalues(+, ok)

exec(ok2)

I am expecting 4 to be returned but it's complaining about

ERROR: LoadError: On worker 2:
KeyError: key Dagger [d58978e5-989f-55fb-8d15-ea34adc7bf54] not found

I am on Julia 1.7.2 and FileTrees 0.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions