 );
 
 
-create or replace function __arches_create_attribute_view(
+create or replace function __arches_create_spatial_view_attribute_table(
 	spatial_view_name_slug text,
 	geometry_node_id uuid,
 	attribute_node_list text

	sv_name_slug_with_geom text;
	success boolean := false;
	sv_delete text := '';
	att_view_name text;
	g record;
	tmp_geom_type text;
begin

drop function if exists __arches_create_spatial_view;
drop function if exists __arches_update_spatial_view;
drop function if exists __arches_delete_spatial_view;
drop function if exists __arches_create_spatial_view_attribute_table;
drop aggregate if exists __arches_agg_get_node_display_value(in_tiledata jsonb, in_nodeid text);
drop function if exists __arches_accum_get_node_display_value;
drop function if exists __arches_get_node_display_value;
