Data warehouse from a legacy system