{"action":"created","issue":{"url":"https://api.github.com/repos/cloudera/ibis/issues/810","repository_url":"https://api.github.com/repos/cloudera/ibis","labels_url":"https://api.github.com/repos/cloudera/ibis/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/cloudera/ibis/issues/810/comments","events_url":"https://api.github.com/repos/cloudera/ibis/issues/810/events","html_url":"https://github.com/cloudera/ibis/issues/810","id":146337891,"number":810,"title":"Chained comparisons are not handled","user":{"login":"tdhopper","id":611122,"avatar_url":"https://avatars.githubusercontent.com/u/611122?v=3","gravatar_id":"","url":"https://api.github.com/users/tdhopper","html_url":"https://github.com/tdhopper","followers_url":"https://api.github.com/users/tdhopper/followers","following_url":"https://api.github.com/users/tdhopper/following{/other_user}","gists_url":"https://api.github.com/users/tdhopper/gists{/gist_id}","starred_url":"https://api.github.com/users/tdhopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdhopper/subscriptions","organizations_url":"https://api.github.com/users/tdhopper/orgs","repos_url":"https://api.github.com/users/tdhopper/repos","events_url":"https://api.github.com/users/tdhopper/events{/privacy}","received_events_url":"https://api.github.com/users/tdhopper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudera/ibis/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cloudera/ibis/milestones/14","html_url":"https://github.com/cloudera/ibis/milestones/0.7.2","labels_url":"https://api.github.com/repos/cloudera/ibis/milestones/14/labels","id":1677143,"number":14,"title":"0.7.2","description":"","creator":{"login":"wesm","id":329591,"avatar_url":"https://avatars.githubusercontent.com/u/329591?v=3","gravatar_id":"","url":"https://api.github.com/users/wesm","html_url":"https://github.com/wesm","followers_url":"https://api.github.com/users/wesm/followers","following_url":"https://api.github.com/users/wesm/following{/other_user}","gists_url":"https://api.github.com/users/wesm/gists{/gist_id}","starred_url":"https://api.github.com/users/wesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesm/subscriptions","organizations_url":"https://api.github.com/users/wesm/orgs","repos_url":"https://api.github.com/users/wesm/repos","events_url":"https://api.github.com/users/wesm/events{/privacy}","received_events_url":"https://api.github.com/users/wesm/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-03-31T23:01:14Z","updated_at":"2016-04-09T20:13:57Z","due_on":"2016-04-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2016-04-06T14:47:08Z","updated_at":"2016-04-11T15:20:47Z","closed_at":null,"body":"Python permits arbitrarily chained comparisons, e.g. `3 < x < 5`. However, Ibis doesn't handle this case:\r\n\r\n```python\r\nt = ibis.table(ibis.schema([('x','int32')]))\r\n0 < t.x < 10\r\n```\r\n\r\nReturns\r\n\r\n```\r\nref_0\r\nUnboundTable[table]\r\n  name: None\r\n  schema:\r\n    x : int32\r\n\r\nLess[array(boolean)]\r\n  x = Column[array(int32)] 'x' from table ref_0\r\n  Literal[int8]\r\n    10\r\n```\r\n\r\nThe first comparison is ignored. "},"comment":{"url":"https://api.github.com/repos/cloudera/ibis/issues/comments/208398853","html_url":"https://github.com/cloudera/ibis/issues/810#issuecomment-208398853","issue_url":"https://api.github.com/repos/cloudera/ibis/issues/810","id":208398853,"user":{"login":"tdhopper","id":611122,"avatar_url":"https://avatars.githubusercontent.com/u/611122?v=3","gravatar_id":"","url":"https://api.github.com/users/tdhopper","html_url":"https://github.com/tdhopper","followers_url":"https://api.github.com/users/tdhopper/followers","following_url":"https://api.github.com/users/tdhopper/following{/other_user}","gists_url":"https://api.github.com/users/tdhopper/gists{/gist_id}","starred_url":"https://api.github.com/users/tdhopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdhopper/subscriptions","organizations_url":"https://api.github.com/users/tdhopper/orgs","repos_url":"https://api.github.com/users/tdhopper/repos","events_url":"https://api.github.com/users/tdhopper/events{/privacy}","received_events_url":"https://api.github.com/users/tdhopper/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T15:20:47Z","updated_at":"2016-04-11T15:20:47Z","body":"No clue, sorry. [Possible helpful?](http://stackoverflow.com/questions/28754726/how-do-chained-comparisons-in-python-actually-work)"}}