-
Notifications
You must be signed in to change notification settings - Fork 991
Open
Labels
JavaAffects Java cuDF API.Affects Java cuDF API.PythonAffects Python cuDF API.Affects Python cuDF API.SparkFunctionality that helps Spark RAPIDSFunctionality that helps Spark RAPIDSbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Milestone
Description
Describe the bug
Attempting to load a non-existent column from a Parquet file throws ArrayIndexOutOfBoundsException instead of a more specific error.
Steps/Code to reproduce bug
Try to load a single column name that does not exist from a Parquet file. For example:
Table.readParquet(ParquetOptions.builder().includeColumn("doesnotexist").build(), new java.io.File("data.parquet"))
throws the following exception:
java.lang.ArrayIndexOutOfBoundsException: 0
at ai.rapids.cudf.Table.<init>(Table.java:96)
at ai.rapids.cudf.Table.readParquet(Table.java:974)
... 49 elided
Expected behavior
A more useful error exception/message should be used than an array index error.
Metadata
Metadata
Assignees
Labels
JavaAffects Java cuDF API.Affects Java cuDF API.PythonAffects Python cuDF API.Affects Python cuDF API.SparkFunctionality that helps Spark RAPIDSFunctionality that helps Spark RAPIDSbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Type
Projects
Status
Todo