{"action":"created","issue":{"url":"https://api.github.com/repos/cequel/cequel/issues/313","repository_url":"https://api.github.com/repos/cequel/cequel","labels_url":"https://api.github.com/repos/cequel/cequel/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/cequel/cequel/issues/313/comments","events_url":"https://api.github.com/repos/cequel/cequel/issues/313/events","html_url":"https://github.com/cequel/cequel/pull/313","id":168142647,"number":313,"title":"limit is not applied to the collection before it is counted","user":{"login":"perobertson","id":4596632,"avatar_url":"https://avatars.githubusercontent.com/u/4596632?v=3","gravatar_id":"","url":"https://api.github.com/users/perobertson","html_url":"https://github.com/perobertson","followers_url":"https://api.github.com/users/perobertson/followers","following_url":"https://api.github.com/users/perobertson/following{/other_user}","gists_url":"https://api.github.com/users/perobertson/gists{/gist_id}","starred_url":"https://api.github.com/users/perobertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perobertson/subscriptions","organizations_url":"https://api.github.com/users/perobertson/orgs","repos_url":"https://api.github.com/users/perobertson/repos","events_url":"https://api.github.com/users/perobertson/events{/privacy}","received_events_url":"https://api.github.com/users/perobertson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-28T16:45:34Z","updated_at":"2016-07-28T23:27:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cequel/cequel/pulls/313","html_url":"https://github.com/cequel/cequel/pull/313","diff_url":"https://github.com/cequel/cequel/pull/313.diff","patch_url":"https://github.com/cequel/cequel/pull/313.patch"},"body":"Ive been working on upgrading to cassandra 3 and came across a difference in the way `LIMIT` functions. In older versions of cassandra it seems that the limit is applied to the data set before it is counted. In later versions it applies the limit to the number of rows that were returned, which is always 1.\r\n\r\nI havent tested this out on the different vagrant images to see when this behaviour change occurred, but it is somewhere between `Cassandra 2.1.13.1131` and `Cassandra 3.0.7.1159`\r\n\r\n/cc @orenmazor"},"comment":{"url":"https://api.github.com/repos/cequel/cequel/issues/comments/236054795","html_url":"https://github.com/cequel/cequel/pull/313#issuecomment-236054795","issue_url":"https://api.github.com/repos/cequel/cequel/issues/313","id":236054795,"user":{"login":"orenmazor","id":384279,"avatar_url":"https://avatars.githubusercontent.com/u/384279?v=3","gravatar_id":"","url":"https://api.github.com/users/orenmazor","html_url":"https://github.com/orenmazor","followers_url":"https://api.github.com/users/orenmazor/followers","following_url":"https://api.github.com/users/orenmazor/following{/other_user}","gists_url":"https://api.github.com/users/orenmazor/gists{/gist_id}","starred_url":"https://api.github.com/users/orenmazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orenmazor/subscriptions","organizations_url":"https://api.github.com/users/orenmazor/orgs","repos_url":"https://api.github.com/users/orenmazor/repos","events_url":"https://api.github.com/users/orenmazor/events{/privacy}","received_events_url":"https://api.github.com/users/orenmazor/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T23:27:52Z","updated_at":"2016-07-28T23:27:52Z","body":"@pezra valid suggestion. I guess it comes down to how opinionated we want Cequel to be? ActiveRecord lets you do some incredibly stupid things. Redis drivers *still* let you do a `keys *`, even tho pretty much every project I've been part of monkey patches that command out"}}
{"actor":{"display_login":"orenmazor"}}