adds test that expects all null values returned
This commit is contained in:
parent
5e8d11fce2
commit
14d50facda
@ -13,3 +13,10 @@ SELECT m1.cartodb_id, m2.trend, m2.trend_up, m2.trend_down, m2.volatility
|
|||||||
JOIN cdb_crankshaft.CDB_SpatialMarkov('SELECT * FROM markov_usjoin_example ORDER BY cartodb_id DESC', Array['y1995', 'y1996', 'y1997', 'y1998', 'y1999', 'y2000', 'y2001', 'y2002', 'y2003', 'y2004', 'y2005', 'y2006', 'y2007', 'y2008', 'y2009']::text[], 5::int, 'knn'::text, 5::int, 0::int, 'the_geom'::text, 'cartodb_id'::text) As m2
|
JOIN cdb_crankshaft.CDB_SpatialMarkov('SELECT * FROM markov_usjoin_example ORDER BY cartodb_id DESC', Array['y1995', 'y1996', 'y1997', 'y1998', 'y1999', 'y2000', 'y2001', 'y2002', 'y2003', 'y2004', 'y2005', 'y2006', 'y2007', 'y2008', 'y2009']::text[], 5::int, 'knn'::text, 5::int, 0::int, 'the_geom'::text, 'cartodb_id'::text) As m2
|
||||||
ON m1.cartodb_id = m2.rowid
|
ON m1.cartodb_id = m2.rowid
|
||||||
ORDER BY m1.cartodb_id;
|
ORDER BY m1.cartodb_id;
|
||||||
|
|
||||||
|
|
||||||
|
SELECT m1.cartodb_id, m2.trend, m2.trend_up, m2.trend_down, m2.volatility
|
||||||
|
FROM markov_usjoin_example As m1
|
||||||
|
JOIN cdb_crankshaft.CDB_SpatialMarkov('SELECT * FROM markov_usjoin_example LIMIT 0', Array['y1995', 'y1996', 'y1997', 'y1998', 'y1999', 'y2000', 'y2001', 'y2002', 'y2003', 'y2004', 'y2005', 'y2006', 'y2007', 'y2008', 'y2009']::text[], 5::int, 'knn'::text, 5::int, 0::int, 'the_geom'::text, 'cartodb_id'::text) As m2
|
||||||
|
ON m1.cartodb_id = m2.rowid
|
||||||
|
ORDER BY m1.cartodb_id;
|
||||||
|
Loading…
Reference in New Issue
Block a user