How to work with big data on Lakeflow SDP without being super expensive?
I have a fairly small bronze dataset with around 8 million rows in the bronze layer, however when I move to silver layer I have to perform an EXPLODE operation to an array in this table that makes it become a 5+ billion row dataset, plus I have to apply a deduplication/CDC into it. I haven’t been successful to do it via SDP without paying over a 100 USD and over 3 hours job run, whilst in a standard Lakeflow Job I can do that with less than 20 USD and within one hour. I’d really like to have it in SDP as it simplifies a lot the code, add features and so on, but is it possible to do it while keeping the costs low?
I’ve tried mainly streaming table as a sink for this data, I’m afraid to try materialized views as it looks to require serverless to do incremental refreshes plus it may still do full recomputing if it thinks it needs to do.