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

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

Open
huangyxi opened this issue Aug 10, 2024 · 0 comments
Open

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

huangyxi opened this issue Aug 10, 2024 · 0 comments

Comments

@huangyxi
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant