I’d highly recommend using the new bad rows format - but if you’d like to use the old bad rows format, I wrote about how to decode this in Python - it’ll be quite similar in Scala - Decoding real-time bad records (Thrift) [tutorial]
I’d highly recommend using the new bad rows format - but if you’d like to use the old bad rows format, I wrote about how to decode this in Python - it’ll be quite similar in Scala - Decoding real-time bad records (Thrift) [tutorial]