In Indian bakeries a "pastry" usually means a single slice of cream layered cake, and pineapple is one of the most loved flavours.
Ask for a pastry in Bengaluru and you get cake.