{"comment":{"url":"https://api.github.com/repos/dain/presto/comments/14289365","html_url":"https://github.com/dain/presto/commit/5c7f46c3bfbd6457e370e42b96390f4f15d0a3ef#commitcomment-14289365","id":14289365,"user":{"login":"martint","id":14387,"avatar_url":"https://avatars.githubusercontent.com/u/14387?v=3","gravatar_id":"","url":"https://api.github.com/users/martint","html_url":"https://github.com/martint","followers_url":"https://api.github.com/users/martint/followers","following_url":"https://api.github.com/users/martint/following{/other_user}","gists_url":"https://api.github.com/users/martint/gists{/gist_id}","starred_url":"https://api.github.com/users/martint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martint/subscriptions","organizations_url":"https://api.github.com/users/martint/orgs","repos_url":"https://api.github.com/users/martint/repos","events_url":"https://api.github.com/users/martint/events{/privacy}","received_events_url":"https://api.github.com/users/martint/received_events","type":"User","site_admin":false},"position":46,"line":565,"path":"presto-main/src/main/java/com/facebook/presto/metadata/FunctionRegistry.java","commit_id":"5c7f46c3bfbd6457e370e42b96390f4f15d0a3ef","created_at":"2015-11-09T23:04:51Z","updated_at":"2015-11-09T23:04:51Z","body":"I wouldn't call this out as a specific type of coercion. It's just a widening conversion (similar to BIGINT->DOUBLE, except between VARCHAR(x)->VARCHAR(y)).\r\n\r\nSo, just inline it in this method.\r\n"}}