From 1f112d587f6c55fdfa970c21df458fbb7322c2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 11 Oct 2018 18:17:03 +0200 Subject: [PATCH] Revert "Rename function" This reverts commit 12dc1626a7438c7c56fb91e1bba9d046b026c42b. --- lib/cartodb/backends/layer-stats/mapnik-layer-stats.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cartodb/backends/layer-stats/mapnik-layer-stats.js b/lib/cartodb/backends/layer-stats/mapnik-layer-stats.js index 1716623e..ee945a51 100644 --- a/lib/cartodb/backends/layer-stats/mapnik-layer-stats.js +++ b/lib/cartodb/backends/layer-stats/mapnik-layer-stats.js @@ -141,7 +141,7 @@ function _sample(ctx, numRows) { return Promise.resolve(); } -function isColumnsMetadataRequired(options) { +function _columnsMetadataRequired(options) { // We need determine the columns of a query // if either column stats or dimension stats are required, // since we'll ultimately use the same query to fetch both @@ -153,7 +153,7 @@ function _columnStats(ctx, columns, dimensions) { return Promise.resolve(); } - if (!isColumnsMetadataRequired(ctx.metaOptions)) { + if (!_columnsMetadataRequired(ctx.metaOptions)) { return Promise.resolve({ columns }); }