Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corruption when calling ingest more than once #85

Open
andreasnoack opened this issue Oct 18, 2017 · 0 comments
Open

Corruption when calling ingest more than once #85

andreasnoack opened this issue Oct 18, 2017 · 0 comments
Labels

Comments

@andreasnoack
Copy link
Member

andreasnoack commented Oct 18, 2017

julia> for i in 1:2
         open("test$(i).txt", "w") do f
           write(f, "a\tb\n")
           write(f, "$(i)\t$(2i)\n")
         end
       end

julia> using JuliaDB

julia> ingest(["test1.txt"], "tmpcache", delim = '\t', usecache = false)
Metadata for 0 / 1 files can be loaded from cache.
Reading 1 csv files totalling 8 bytes in 1 batches...
ingDTable with 1 rows in 1 chunks:

  │ a  b
──┼─────
11  2

julia> ingest(["test1.txt", "test2.txt"], "tmpcache", delim = '\t', usecache = false)
Metadata for 0 / 2 files can be loaded from cache.
Reading 2 csv files totalling 16 bytes in 1 batches...
DTable with 2 rows in 1 chunks:

  │ a                     b
──┼──────────────────────────
1-4106979394849065894  512

if I then restart the REPL

julia> using JuliaDB

julia> ingest(joinpath.("/Users/andreasnoack/Desktop", ["test1.txt", "test2.txt"][1:2]), "tmpcache", delim = '\t', usecache = false)
Metadata for 0 / 2 files can be loaded from cache.
Reading 2 csv files totalling 16 bytes in 1 batches...
DTable with 2 rows in 1 chunks:

  │ a  b
──┼─────
11  2
22  4
@shashi shashi added the bug label May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants