As far as i know, there is no judgment on this particular issue but a SC judgement has clarified that the caste of a person does not change upon marriage. For eg if a general woman marries a person from obc, she cannot get the benefits reserved for that caste.
I think since no clarification has been given, you can choose either of the parentβs caste or can even decide to go casteless