Skip to content

show hangs for Tables with missing-allowed columns  #44

@fredcallaway

Description

@fredcallaway

I'm not exactly sure what the root of this problem is, but here's a near-minimal example:

I have a file, foo.csv with contents:

c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16

Now in a Julia console...

julia> t = Table(CSV.File("foo.csv"; allowmissing=:none))
Table with 16 columns and 1 row:
     c1  c2  c3  c4  c5  c6  c7  c8  c9  c10  c11  c12  c13  c14  c15  c16
   ┌──────────────────────────────────────────────────────────────────────
 1 │ 1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16

julia> t = Table(CSV.File("foo.csv"));

julia> show(t)

That last command hangs (for at least 10 minutes) with full CPU usage. It's also worth noting that I don't get the problem when the table has fewer columns. I don't know the exact cutoff, but 3 columns works.

Oh, I should also add, that the Julia process continues to consume increasing amount of memory until the system runs out of swap and pauses the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions