I'd match the battery to the drill as far as date or name or technology is concerned so they work together the way it is meant to work. Check what is recommended by manufacturer.
Makita was used in our glass shop back in the day. They seemed to use better ni-cad cells. Never had issues with them.
What ever money you may be saving now may/should cost you later in service and batteries. If your saving anything. Batteries are good for so many charges. Brand doesn't matter on that fact.
I just checked the warranty on that dewalt drill. Its only 3 year tool and 1 year battery! Not good.
Makita is 3 years for all of it.
Dewalt 3/1.
Makita 3/3.
Milwaukee 5/3.
Ridgid is lifetime/lifetime. Battery must be sold with at least a charger to qualify for lsa.
Tool only costs are close to same.
I recently had my Milwaukee 1/2 inch impact switch go bad. Luckily it went just before the warranty expired. The switch acted contaminated and wasn't hardly variable and skipped most of the trigger pull. So was mostly full on or nothing.
When it needs service again, it will be replaced with ridgids new and stronger 1/2 inch impact. They didn't have a strong impact when I needed one. It beats Milwaukee by 100 foot pounds. Thought about upgrading to it, but I'm good for now.
My only concern is what are the UWO w/o the 8ah battery ..on the 5ah what are the UWO? ...my best guess is cut outs (like the Ridgid Octane ) with a smaller battery . So weight may be a concern for some . Some IS member may dip a toe in that pond and give us a real on ice review . I would still go Milwaukee ...as it is tried true and tested.
I tested the octane drill with ridgids non octane 4 amp battery and the battery cut out. The drill pulls too many amps under full load from a battery not designed to allow that many amps all at once. Like a deep cycle vs automotive design.
I have not tried the octane 6 amp as I don't have one. I have 3 9 amp octane batteries. It should be using the updated battery management board on it and not cut out.
The non octane batteries only had to power 750 inch pounds as far as drills are concerned, so it would use the older battery management board. This is what saves the battery from catastrophic failure. The octane1300 inch pounds is nearly double the draw.