One idea applies this in two loads.
one table called test
the name of fields
you clean for distinct in fields b,d,f
in first load use hash
hash(b,d,f) as key resident test ;
in second load use distinct
load distinct key,
a,b,c,d,e,f resident firstload ;
i hope this idea server to you...