Remove ad-hoc array function calling from GDN_SQL.