{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19515","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19515/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19515/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19515/events","html_url":"https://github.com/cockroachdb/cockroach/issues/19515","id":268413235,"number":19515,"title":"sql: have a solution for maintaining a canonical list of column types","user":{"login":"justinj","id":409075,"avatar_url":"https://avatars2.githubusercontent.com/u/409075?v=4","gravatar_id":"","url":"https://api.github.com/users/justinj","html_url":"https://github.com/justinj","followers_url":"https://api.github.com/users/justinj/followers","following_url":"https://api.github.com/users/justinj/following{/other_user}","gists_url":"https://api.github.com/users/justinj/gists{/gist_id}","starred_url":"https://api.github.com/users/justinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinj/subscriptions","organizations_url":"https://api.github.com/users/justinj/orgs","repos_url":"https://api.github.com/users/justinj/repos","events_url":"https://api.github.com/users/justinj/events{/privacy}","received_events_url":"https://api.github.com/users/justinj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-25T14:11:07Z","updated_at":"2017-10-25T15:29:54Z","closed_at":null,"author_association":"OWNER","body":"This is mostly a brainstorming issue - for testing purposes, it would be really nice to be able to write tests that range over all valid column types (note that `TypesAnyNonArray` denotes datum types and also doesn't really solve this problem) that would ensure they were added in all the right places (like pg_catalog), but there's a bootstrapping problem that Go doesn't really provide a way to ensure that the list of column types itself is exhaustive (and \"exhaustive\" here is ill-defined for column types that can have parameters like `DECIMAL`). Short of some kind of lint rule or just the common knowledge that a new column type needs to be added to the list I'm not sure what the right solution is here.\r\n\r\ncc @mjibson @jordanlewis @knz "},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/339369564","html_url":"https://github.com/cockroachdb/cockroach/issues/19515#issuecomment-339369564","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/19515","id":339369564,"user":{"login":"jordanlewis","id":43821,"avatar_url":"https://avatars1.githubusercontent.com/u/43821?v=4","gravatar_id":"","url":"https://api.github.com/users/jordanlewis","html_url":"https://github.com/jordanlewis","followers_url":"https://api.github.com/users/jordanlewis/followers","following_url":"https://api.github.com/users/jordanlewis/following{/other_user}","gists_url":"https://api.github.com/users/jordanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanlewis/subscriptions","organizations_url":"https://api.github.com/users/jordanlewis/orgs","repos_url":"https://api.github.com/users/jordanlewis/repos","events_url":"https://api.github.com/users/jordanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/jordanlewis/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T15:29:54Z","updated_at":"2017-10-25T15:29:54Z","author_association":"OWNER","body":"https://github.com/haya14busa/gosum is a possibility."}}
{"actor":{"display_login":"jordanlewis"}}