Rename function

This commit is contained in:
Daniel García Aubert 2018-10-10 15:07:47 +02:00
parent 297e56f4e1
commit 12dc1626a7

View File

@ -141,7 +141,7 @@ function _sample(ctx, numRows) {
return Promise.resolve();
}
function _columnsMetadataRequired(options) {
function isColumnsMetadataRequired(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 (!_columnsMetadataRequired(ctx.metaOptions)) {
if (!isColumnsMetadataRequired(ctx.metaOptions)) {
return Promise.resolve({ columns });
}