The data is overwrite mode anyways, just one day data.Distinct working is same as generating hashing key at the background for my use case.I have already checked on the solution suggested by you.