[BUG] cudf.read_json
does not raise an exception with invalid data when lines=True
and engine='cudf'
#15820
Labels
bug
Something isn't working
Describe the bug
cudf.read_json
doesn't raise an exception when parsing invalid json whenlines=True
andengine='cudf'
. Instead it returns a single row DF with an empty string value.Setting
lines=False
raises aRuntimeError
(should be aValueError
).Alternately setting
engine='pandas'
raises aValueError
.Steps/Code to reproduce bug
Expected behavior
A raised
ValueError
, although any exception is better thanEnvironment overview (please complete the following information)
Observed in versions 24.04.01 and 24.02.02
The text was updated successfully, but these errors were encountered: