-
Notifications
You must be signed in to change notification settings - Fork 204
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
CSV output: bubble up error message so more clear #301
Comments
Hey, thanks for the report. First time I'm seeing this. Do you possibly have the JSON value that is causing this? |
It's the same 10GB file as before https://files.pushshift.io/reddit/submissions/RS_2022-08.zst. Not sure how to get the JSON value. In the code you should be able to add some logging in the stacktrace to print it but maybe with stuff like memory errors that is more difficult? when I try to generate a trace it only creates a 16 byte file:
|
Interesting... when I only do the first line then I get a more clear error message:
|
That makes sense to me. Maybe instead of
It works with no problems when specifying all columns except the list and object type columns. 38 million rows in 500 seconds.
Maybe the only thing to fix here is to bubble up the error somehow so that it does not show up as "invalid memory address or nil pointer dereference" |
Thanks for the writeup! I'll admit I have no idea why you got the nil dereference instead of the List panic there, but I'll look into it (and probably, as you suggested, turn it into a normal error, to avoid further similar issues). Cheers! |
The text was updated successfully, but these errors were encountered: