update output signature

This commit is contained in:
Andy Eschbacher 2016-03-24 11:33:47 -04:00
parent 9535506b93
commit 1de90a7d39

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()')