fix alias of column
This commit is contained in:
parent
691b9a8312
commit
2fe02d8154
@ -6,11 +6,11 @@ SELECT unnest(CDB_QuantileBins(s, 10))
|
|||||||
FROM data;
|
FROM data;
|
||||||
|
|
||||||
WITH data_nulls AS (
|
WITH data_nulls AS (
|
||||||
SELECT array_agg(x::numeric)
|
SELECT array_agg(x::numeric) AS s
|
||||||
FROM (
|
FROM (
|
||||||
SELECT x FROM generate_series(0, 99) AS x
|
SELECT x FROM generate_series(0, 99) AS x
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT null AS s FROM generate_series(1, 10) AS x
|
SELECT null AS x FROM generate_series(1, 10) AS x
|
||||||
) _wrap
|
) _wrap
|
||||||
)
|
)
|
||||||
SELECT unnest(CDB_QuantileBins(s, 10))
|
SELECT unnest(CDB_QuantileBins(s, 10))
|
||||||
|
Loading…
Reference in New Issue
Block a user