removing category cast to string in aggregation
This commit is contained in:
parent
767dde0b1e
commit
bc7a556297
@ -74,7 +74,7 @@ const specialNumericValuesColumns = () => `, nans_count, infinities_count`;
|
|||||||
|
|
||||||
const rankedAggregationQueryTpl = ctx => `
|
const rankedAggregationQueryTpl = ctx => `
|
||||||
SELECT
|
SELECT
|
||||||
CAST(category AS text),
|
category,
|
||||||
value,
|
value,
|
||||||
false as agg,
|
false as agg,
|
||||||
nulls_count,
|
nulls_count,
|
||||||
@ -109,7 +109,7 @@ const rankedAggregationQueryTpl = ctx => `
|
|||||||
|
|
||||||
const aggregationQueryTpl = ctx => `
|
const aggregationQueryTpl = ctx => `
|
||||||
SELECT
|
SELECT
|
||||||
CAST(${ctx.column} AS text) AS category,
|
${ctx.column} AS category,
|
||||||
${ctx.aggregationFn} AS value,
|
${ctx.aggregationFn} AS value,
|
||||||
false as agg,
|
false as agg,
|
||||||
nulls_count,
|
nulls_count,
|
||||||
|
Loading…
Reference in New Issue
Block a user