{"action":"created","issue":{"url":"https://api.github.com/repos/travel-cloud/Cheddar/issues/214","repository_url":"https://api.github.com/repos/travel-cloud/Cheddar","labels_url":"https://api.github.com/repos/travel-cloud/Cheddar/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/travel-cloud/Cheddar/issues/214/comments","events_url":"https://api.github.com/repos/travel-cloud/Cheddar/issues/214/events","html_url":"https://github.com/travel-cloud/Cheddar/pull/214","id":220197240,"number":214,"title":"Ensure that when a non-compound attribute query is passed for an index which is also the hash part of a compound index, we use the non-compound index to query against","user":{"login":"clicktravel-chrishern","id":19385072,"avatar_url":"https://avatars2.githubusercontent.com/u/19385072?v=3","gravatar_id":"","url":"https://api.github.com/users/clicktravel-chrishern","html_url":"https://github.com/clicktravel-chrishern","followers_url":"https://api.github.com/users/clicktravel-chrishern/followers","following_url":"https://api.github.com/users/clicktravel-chrishern/following{/other_user}","gists_url":"https://api.github.com/users/clicktravel-chrishern/gists{/gist_id}","starred_url":"https://api.github.com/users/clicktravel-chrishern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clicktravel-chrishern/subscriptions","organizations_url":"https://api.github.com/users/clicktravel-chrishern/orgs","repos_url":"https://api.github.com/users/clicktravel-chrishern/repos","events_url":"https://api.github.com/users/clicktravel-chrishern/events{/privacy}","received_events_url":"https://api.github.com/users/clicktravel-chrishern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-07T12:16:48Z","updated_at":"2017-04-07T13:08:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/travel-cloud/Cheddar/pulls/214","html_url":"https://github.com/travel-cloud/Cheddar/pull/214","diff_url":"https://github.com/travel-cloud/Cheddar/pull/214.diff","patch_url":"https://github.com/travel-cloud/Cheddar/pull/214.patch"},"body":"This fixes a bug where a table had an index defined on an attribute and a compound index where the attribute was the hash part of this compound index and the range part was an attribute that was optional.  When a non-compound attribute query was passed for the attribute in question, the compound index was being queried against.  This resulted in items which didn't contain the optional range part of the compound index to not be returned as they are not part of the compound index table.  This fix ensures that the non-compound index is queried against in this scenario."},"comment":{"url":"https://api.github.com/repos/travel-cloud/Cheddar/issues/comments/292531615","html_url":"https://github.com/travel-cloud/Cheddar/pull/214#issuecomment-292531615","issue_url":"https://api.github.com/repos/travel-cloud/Cheddar/issues/214","id":292531615,"user":{"login":"clicktravel-chrishern","id":19385072,"avatar_url":"https://avatars2.githubusercontent.com/u/19385072?v=3","gravatar_id":"","url":"https://api.github.com/users/clicktravel-chrishern","html_url":"https://github.com/clicktravel-chrishern","followers_url":"https://api.github.com/users/clicktravel-chrishern/followers","following_url":"https://api.github.com/users/clicktravel-chrishern/following{/other_user}","gists_url":"https://api.github.com/users/clicktravel-chrishern/gists{/gist_id}","starred_url":"https://api.github.com/users/clicktravel-chrishern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clicktravel-chrishern/subscriptions","organizations_url":"https://api.github.com/users/clicktravel-chrishern/orgs","repos_url":"https://api.github.com/users/clicktravel-chrishern/repos","events_url":"https://api.github.com/users/clicktravel-chrishern/events{/privacy}","received_events_url":"https://api.github.com/users/clicktravel-chrishern/received_events","type":"User","site_admin":false},"created_at":"2017-04-07T13:08:41Z","updated_at":"2017-04-07T13:08:41Z","body":"@clicktravel-james Thanks for the review.   I've added the suggested JavaDoc and also responded to your question."}}
{"actor":{"display_login":"clicktravel-chrishern"}}