In our system we have a database where many tables have with a lot of columns, in some case more that 300 columns. Lets use an example - a car. We have a car table which contains 300 columns. Besides the id of the car, the rest of the columns contain data related to the car fx. the dimensions of right seat.
The question is how to we map this table into a DDD aggregate without loading all columns?
DDD says the repository loads the entire aggregate, but in most cases the customer only wants to see a small part of the aggregate. The car aggregate will also have a lot of methods calculating a variety of things and some cases the data needs to be loaded from other tables.
How do we implement this the DDD way? Domain services?
Are we barking up the wrong tree? Should we be using CQRS instead?
Please disregard the fact; the database is a mess.