Remove the DEFAULT values in DROP FUNCTION's

This commit is contained in:
Rafa de la Torre 2016-06-29 19:52:01 +02:00
parent 3d99d1f9bf
commit c8871a5547

View File

@ -27,22 +27,22 @@ DROP FUNCTION
features NUMERIC[], features NUMERIC[],
target_features NUMERIC[], target_features NUMERIC[],
target_ids NUMERIC[], target_ids NUMERIC[],
n_estimators INTEGER DEFAULT 1200, n_estimators INTEGER,
max_depth INTEGER DEFAULT 3, max_depth INTEGER,
subsample DOUBLE PRECISION DEFAULT 0.5, subsample DOUBLE PRECISION,
learning_rate DOUBLE PRECISION DEFAULT 0.01, learning_rate DOUBLE PRECISION,
min_samples_leaf INTEGER DEFAULT 1); min_samples_leaf INTEGER);
DROP FUNCTION DROP FUNCTION
CDB_CreateAndPredictSegment ( CDB_CreateAndPredictSegment (
query TEXT, query TEXT,
variable_name TEXT, variable_name TEXT,
target_table TEXT, target_table TEXT,
n_estimators INTEGER DEFAULT 1200, n_estimators INTEGER,
max_depth INTEGER DEFAULT 3, max_depth INTEGER,
subsample DOUBLE PRECISION DEFAULT 0.5, subsample DOUBLE PRECISION,
learning_rate DOUBLE PRECISION DEFAULT 0.01, learning_rate DOUBLE PRECISION,
min_samples_leaf INTEGER DEFAULT 1); min_samples_leaf INTEGER);
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -51,18 +51,18 @@ DROP FUNCTION
DROP FUNCTION CDB_SpatialInterpolation( DROP FUNCTION CDB_SpatialInterpolation(
IN query text, IN query text,
IN point geometry, IN point geometry,
IN method integer DEFAULT 1, IN method integer,
IN p1 numeric DEFAULT 0, IN p1 numeric,
IN p2 numeric DEFAULT 0 IN p2 numeric
); );
DROP FUNCTION CDB_SpatialInterpolation( DROP FUNCTION CDB_SpatialInterpolation(
IN geomin geometry[], IN geomin geometry[],
IN colin numeric[], IN colin numeric[],
IN point geometry, IN point geometry,
IN method integer DEFAULT 1, IN method integer,
IN p1 numeric DEFAULT 0, IN p1 numeric,
IN p2 numeric DEFAULT 0 IN p2 numeric
); );
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -73,9 +73,9 @@ DROP FUNCTION
CDB_SpatialMarkovTrend ( CDB_SpatialMarkovTrend (
subquery TEXT, subquery TEXT,
time_cols TEXT[], time_cols TEXT[],
num_classes INT DEFAULT 7, num_classes INT,
w_type TEXT DEFAULT 'knn', w_type TEXT,
num_ngbrs INT DEFAULT 5, num_ngbrs INT,
permutations INT DEFAULT 99, permutations INT,
geom_col TEXT DEFAULT 'the_geom', geom_col TEXT,
id_col TEXT DEFAULT 'cartodb_id'); id_col TEXT);