Merge pull request #347 from CartoDB/Fix_table_naming

Fixed table naming
This commit is contained in:
Antonio Carlón 2018-07-23 12:22:39 +02:00 committed by GitHub
commit 9b62a0980f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -652,8 +652,8 @@ BEGIN
format( format(
$query$ $query$
SELECT ROUND(AVG(x)) AS x, ROUND(AVG(y)) as y SELECT ROUND(AVG(x)) AS x, ROUND(AVG(y)) as y
FROM tiler.xyz_us_mc_tiles_temp_%1$s_%2$s FROM %3$s_%1$s_%2$s
$query$, mc_geography_level, z) $query$, mc_geography_level, z, tiler_table_prefix)
INTO avg_x, avg_y; INTO avg_x, avg_y;
IF area_normalized THEN IF area_normalized THEN