-
Notifications
You must be signed in to change notification settings - Fork 993
Open
Labels
0 - BacklogIn queue waiting for assignmentIn queue waiting for assignmentPythonAffects Python cuDF API.Affects Python cuDF API.SparkFunctionality that helps Spark RAPIDSFunctionality that helps Spark RAPIDSbugSomething isn't workingSomething isn't workingcuIOcuIO issuecuIO issuelibcudfAffects libcudf (C++/CUDA) code.Affects libcudf (C++/CUDA) code.
Milestone
Description
The following test fails in both cases:
@pytest.mark.parametrize(
"buffer",
[
"[ ]\n[ ]",
'{ }\n{ }',
],
)
def test_json_empty(buffer):
cu_df = cudf.read_json(buffer, lines=True)
pd_df = pd.read_json(buffer, lines=True)
np.testing.assert_array_equal(pd_df.dtypes, cu_df.dtypes)
With array rows, the reader creates a table with int8 column instead of an empty table.
With object rows, a CUDA error happens.
Metadata
Metadata
Assignees
Labels
0 - BacklogIn queue waiting for assignmentIn queue waiting for assignmentPythonAffects Python cuDF API.Affects Python cuDF API.SparkFunctionality that helps Spark RAPIDSFunctionality that helps Spark RAPIDSbugSomething isn't workingSomething isn't workingcuIOcuIO issuecuIO issuelibcudfAffects libcudf (C++/CUDA) code.Affects libcudf (C++/CUDA) code.
Type
Projects
Status
Needs owner
Status
Todo