I have a composite array like the below
CREATE TYPE data_filter AS ( id integer ,data_type_id integer ,data_val