{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/567","repository_url":"https://api.github.com/repos/CartoDB/cartodb.js","labels_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/567/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/567/events","html_url":"https://github.com/CartoDB/cartodb.js/issues/567","id":93550476,"number":567,"title":"Enable the histogram calculation for the describeFloat method","user":{"login":"javierarce","id":4933,"avatar_url":"https://avatars.githubusercontent.com/u/4933?v=3","gravatar_id":"","url":"https://api.github.com/users/javierarce","html_url":"https://github.com/javierarce","followers_url":"https://api.github.com/users/javierarce/followers","following_url":"https://api.github.com/users/javierarce/following{/other_user}","gists_url":"https://api.github.com/users/javierarce/gists{/gist_id}","starred_url":"https://api.github.com/users/javierarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierarce/subscriptions","organizations_url":"https://api.github.com/users/javierarce/orgs","repos_url":"https://api.github.com/users/javierarce/repos","events_url":"https://api.github.com/users/javierarce/events{/privacy}","received_events_url":"https://api.github.com/users/javierarce/received_events","type":"User","site_admin":false},"labels":[{"id":231567098,"url":"https://api.github.com/repos/CartoDB/cartodb.js/labels/pecan","name":"pecan","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"ohasselblad","id":1041056,"avatar_url":"https://avatars.githubusercontent.com/u/1041056?v=3","gravatar_id":"","url":"https://api.github.com/users/ohasselblad","html_url":"https://github.com/ohasselblad","followers_url":"https://api.github.com/users/ohasselblad/followers","following_url":"https://api.github.com/users/ohasselblad/following{/other_user}","gists_url":"https://api.github.com/users/ohasselblad/gists{/gist_id}","starred_url":"https://api.github.com/users/ohasselblad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohasselblad/subscriptions","organizations_url":"https://api.github.com/users/ohasselblad/orgs","repos_url":"https://api.github.com/users/ohasselblad/repos","events_url":"https://api.github.com/users/ohasselblad/events{/privacy}","received_events_url":"https://api.github.com/users/ohasselblad/received_events","type":"User","site_admin":false},"assignees":[],"milestone":null,"comments":1,"created_at":"2015-07-07T14:57:50Z","updated_at":"2016-11-16T16:45:32Z","closed_at":null,"body":"The query inside the `describeFloat` method contains a function to calculate the histogram of a column, but it doesn't seem to be working correctly.\n\nI had a look and saw that the regular expression expects (https://github.com/CartoDB/cartodb.js/blob/develop/src/api/sql.js#L625) to get a string with three numbers, but sometimes the query returns strings like this one: \"(13,empty,57)\". \n\nIn those cases the histograms returns an array of `null` values.\n\nFor the release we ended up creating an alternative histogram called `cat_hist`. It's similar to the method we use for the categories query, so it's probably not ok.\n"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/comments/261000460","html_url":"https://github.com/CartoDB/cartodb.js/issues/567#issuecomment-261000460","issue_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/567","id":261000460,"user":{"login":"nobuti","id":1366843,"avatar_url":"https://avatars.githubusercontent.com/u/1366843?v=3","gravatar_id":"","url":"https://api.github.com/users/nobuti","html_url":"https://github.com/nobuti","followers_url":"https://api.github.com/users/nobuti/followers","following_url":"https://api.github.com/users/nobuti/following{/other_user}","gists_url":"https://api.github.com/users/nobuti/gists{/gist_id}","starred_url":"https://api.github.com/users/nobuti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobuti/subscriptions","organizations_url":"https://api.github.com/users/nobuti/orgs","repos_url":"https://api.github.com/users/nobuti/repos","events_url":"https://api.github.com/users/nobuti/events{/privacy}","received_events_url":"https://api.github.com/users/nobuti/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T16:45:32Z","updated_at":"2016-11-16T16:45:32Z","body":"There has been no activity on this issue for several months and that's why are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned."}}
{"actor":{"display_login":"nobuti"}}