[pergola] dataType merge implemented as function