Subsitute tokens to get columns for dates_as_numbers

Fixes #980
This commit is contained in:
Javier Goizueta 2018-06-18 13:16:49 +02:00
parent e0cd1aba29
commit e89503e1fa

View File

@ -46,7 +46,7 @@ class VectorMapConfigAdapter {
if (err) {
return reject(err);
}
const query = queryUtils.getQueryLimited(originalQuery, 0);
const query = queryUtils.getQueryLimited(queryUtils.substituteDummyTokens(originalQuery), 0);
queryUtils.queryPromise(connection, query)
.then(resolve)
.catch(reject);