{"action":"opened","issue":{"url":"https://api.github.com/repos/prestodb/presto/issues/6202","repository_url":"https://api.github.com/repos/prestodb/presto","labels_url":"https://api.github.com/repos/prestodb/presto/issues/6202/labels{/name}","comments_url":"https://api.github.com/repos/prestodb/presto/issues/6202/comments","events_url":"https://api.github.com/repos/prestodb/presto/issues/6202/events","html_url":"https://github.com/prestodb/presto/issues/6202","id":179575245,"number":6202,"title":"Array element_at should return null if not found","user":{"login":"electrum","id":9230,"avatar_url":"https://avatars.githubusercontent.com/u/9230?v=3","gravatar_id":"","url":"https://api.github.com/users/electrum","html_url":"https://github.com/electrum","followers_url":"https://api.github.com/users/electrum/followers","following_url":"https://api.github.com/users/electrum/following{/other_user}","gists_url":"https://api.github.com/users/electrum/gists{/gist_id}","starred_url":"https://api.github.com/users/electrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrum/subscriptions","organizations_url":"https://api.github.com/users/electrum/orgs","repos_url":"https://api.github.com/users/electrum/repos","events_url":"https://api.github.com/users/electrum/events{/privacy}","received_events_url":"https://api.github.com/users/electrum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T18:29:56Z","updated_at":"2016-09-27T18:29:56Z","closed_at":null,"body":"The main point of having a separate function (aside from negative indexes) rather than `[]` is to allow accessing a position that may not exist. This makes it consistent with the map version of the function.\r\n\r\nZero is a special case that is never valid (in either direction), so we should keep the behavior of throwing an error for that. It avoids mistakes due to SQL arrays starting at one.\r\n\r\n"}}
{"actor":{"display_login":"electrum"}}