Skip to content

Commit

Permalink
disable mixed type as string in GpuJsonToStruct
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jan 23, 2024
1 parent dc9d6f4 commit 4fbc8a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ case class GpuJsonToStructs(

val jsonOptions = cudf.JSONOptions.builder()
.withRecoverWithNull(true)
.withMixedTypesAsStrings(true)
// tracking issue for enabling mixed type as string
// https://github.com/NVIDIA/spark-rapids/issues/10253
.withMixedTypesAsStrings(false)
.build()
withResource(cudf.Table.readJSON(jsonOptions, data, start, length)) { tableWithMeta =>
val names = tableWithMeta.getColumnNames
Expand Down

0 comments on commit 4fbc8a9

Please sign in to comment.