Data Engineering Podcast cover image

What Happens When The Abstractions Leak On Your Data

Data Engineering Podcast

CHAPTER

How to Parse Decimal Fields in Hive

Hive engine has a decimal type, which supports accurate numerical representations. The precision and scale value in Hive max out at 38. So when we were trying to parse even simple integers, it would throw an error. And so the other instance was for those nested documents and rich objects where we said, well, actually, we just want those to be converted to a string in theJSON files. We can then use JSON functions in the Trino engine to be able to parsing those values back out and transform them into the structures that we need.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner