-
Notifications
You must be signed in to change notification settings - Fork 993
Open
Labels
0 - BacklogIn queue waiting for assignmentIn queue waiting for assignmentSparkFunctionality that helps Spark RAPIDSFunctionality that helps Spark RAPIDScuIOcuIO issuecuIO issuefeature requestNew feature or requestNew feature or requestlibcudfAffects libcudf (C++/CUDA) code.Affects libcudf (C++/CUDA) code.
Milestone
Description
Is your feature request related to a problem? Please describe.
Per the discussion at NVIDIA/spark-rapids#9304 (comment), the Spark plugin currently has to parse the error message from an AssertionError, which is an anti-pattern. This happens when the plugin calls Table.readJSON where the input is not JSON format.
This exception is thrown in the constructor for Table:
public Table(long[] cudfColumns) {
assert cudfColumns != null && cudfColumns.length > 0 : "CudfColumns can't be null or empty";Describe the solution you'd like
We should throw a specific exception instead.
Describe alternatives you've considered
None
Additional context
None
Metadata
Metadata
Assignees
Labels
0 - BacklogIn queue waiting for assignmentIn queue waiting for assignmentSparkFunctionality that helps Spark RAPIDSFunctionality that helps Spark RAPIDScuIOcuIO issuecuIO issuefeature requestNew feature or requestNew feature or requestlibcudfAffects libcudf (C++/CUDA) code.Affects libcudf (C++/CUDA) code.