In a vacuum, it's an okay return, but run prevention was not the Padres' problem last year. Considering they're probably losing Snell, it looks like their pitching staff is probably about the same with the line-up taking a hit.
We may never know what, if anything, was on the table before the trade deadline, but if there was anything with a good hitting prospect, it was probably a mistake not to go that route.