updates column name to rowid

This commit is contained in:
Andy Eschbacher 2016-06-02 14:19:13 -04:00
parent a5cb857841
commit edf635886b

View File

@ -19,7 +19,7 @@ CREATE OR REPLACE FUNCTION
permutations INT DEFAULT 99, permutations INT DEFAULT 99,
geom_col TEXT DEFAULT 'the_geom', geom_col TEXT DEFAULT 'the_geom',
id_col TEXT DEFAULT 'cartodb_id') id_col TEXT DEFAULT 'cartodb_id')
RETURNS TABLE (trend NUMERIC, trend_up NUMERIC, trend_down NUMERIC, volatility NUMERIC, ids INT) RETURNS TABLE (trend NUMERIC, trend_up NUMERIC, trend_down NUMERIC, volatility NUMERIC, rowid INT)
AS $$ AS $$
plpy.execute('SELECT cdb_crankshaft._cdb_crankshaft_activate_py()') plpy.execute('SELECT cdb_crankshaft._cdb_crankshaft_activate_py()')