Riemann Sums From Partitions