update output signature

This commit is contained in:
Andy Eschbacher 2016-03-24 11:33:47 -04:00
parent 491577ed62
commit 98c2b11935

View File

@ -20,7 +20,7 @@ CREATE OR REPLACE FUNCTION
id_col TEXT DEFAULT 'cartodb_id',
w_type TEXT DEFAULT 'knn',
num_ngbrs int DEFAULT 5)
RETURNS TABLE (moran FLOAT, quads TEXT, significance FLOAT, ids INT)
RETURNS TABLE (trend numeric, trend_up numeric, trend_down numeric, volatility numeric, ids int)
AS $$
plpy.execute('SELECT cdb_crankshaft._cdb_crankshaft_activate_py()')