Consider checking the type of a bad row before parsing directly with the right decoder #35
Labels
duplicate
This issue or pull request already exists
enhancement
New feature or request
question
Further information is requested
At the moment we use
.as[BadRow]
to parse aJson
to its bad row case class.This is based on ADTs encoding and decoding.
Given the number of classes and fields in the bad rows it might be more performant to first check the schema of the bad row (in
"schema"
field) and then use directly the rightDecoder
, e.g.The text was updated successfully, but these errors were encountered: