rename buildNumericHistogramQueryTpl by buildQueryTpl
This commit is contained in:
parent
7f14785091
commit
38f0e23efe
@ -207,7 +207,7 @@ module.exports = class NumericHistogram extends BaseDataview {
|
||||
|
||||
|
||||
_buildQuery (psql, override, callback) {
|
||||
const histogramSql = this.buildNumericHistogramQueryTpl({
|
||||
const histogramSql = this.buildQueryTpl({
|
||||
_override: override,
|
||||
_column: this._columnType === 'date' ? columnCastTpl({ column: this.column }) : this.column,
|
||||
_isFloatColumn: this._columnType === 'float',
|
||||
@ -223,7 +223,7 @@ module.exports = class NumericHistogram extends BaseDataview {
|
||||
return callback(null, histogramSql);
|
||||
}
|
||||
|
||||
buildNumericHistogramQueryTpl (ctx) {
|
||||
buildQueryTpl (ctx) {
|
||||
return `
|
||||
WITH
|
||||
${filteredQueryTpl(ctx)},
|
||||
|
Loading…
Reference in New Issue
Block a user