Skip to content

Fail to read multiple-line string with multiple tasks #1139

Description

@huangyxi

CSV.read failed when CSV files contain multiple-line strings with multiple tasks.

Reproduction

Threads.nthreads() # 240
using DataFrames
using CSV

n = 4000 # change to larger number if unable to reproduce
text = "123
abc" # multiple-line string
a = DataFrame(id=1:n, text=fill(text, n))
CSV.write("test.csv", a)
b = CSV.read("test.csv", DataFrame) # Error
# CSV.read("test.csv", DataFrame, ntasks=1) is OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions