If you are mentioning the water tank walls supported on a frame structure I would preferably address them as retaining walls not as shear walls and detail them as retaining walls. The columns should be extended to the top slab as the water tank walls (retaining walls) will be spanning between them.
Extending the the column through the tank should be done to complete the frame. I have come across some tank designs in which the columns were extended through the tank.