Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
What is wrong with the following SQL query on my data? I found pretty clear documentation (1,2) that the function is supposed to work.
SELECT CDB_QuantileBins(array_agg(numeric_column_of_mine), 10) from my_table
There seems to be a type inflexiblity in the function. Try this,
SELECT CDB_QuantileBins(array_agg(numeric_column_of_mine::numeric), 10) FROM my_table
Required, but never shown
5 years, 3 months ago
5 years, 2 months ago