Merge pull request #349 from CartoDB/Fix_whole_file_date_query

Fix whole file date query
remotes/origin/Add_more_countries_support_to_MVT
Antonio Carlón 6 years ago committed by GitHub
commit 8acd5d39b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -279,7 +279,7 @@ BEGIN
IF month_no IS NOT NULL THEN
where_clause := format(
$query$
WHERE month LIKE '____-%1$s-__'
WHERE month LIKE '%1$s/__/____'
$query$, LPAD(month_no, 2, '0'));
END IF;

Loading…
Cancel
Save