Rename function
This commit is contained in:
parent
297e56f4e1
commit
12dc1626a7
@ -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 });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user