Schema versioning in data warehouses