{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10757","labels_url":"https://api.github.com/repos/apache/spark/issues/10757/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10757/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10757/events","html_url":"https://github.com/apache/spark/pull/10757","id":126731180,"number":10757,"title":"[SPARK-12799] Simplify various string output for expressions","user":{"login":"liancheng","id":230655,"avatar_url":"https://avatars.githubusercontent.com/u/230655?v=3","gravatar_id":"","url":"https://api.github.com/users/liancheng","html_url":"https://github.com/liancheng","followers_url":"https://api.github.com/users/liancheng/followers","following_url":"https://api.github.com/users/liancheng/following{/other_user}","gists_url":"https://api.github.com/users/liancheng/gists{/gist_id}","starred_url":"https://api.github.com/users/liancheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liancheng/subscriptions","organizations_url":"https://api.github.com/users/liancheng/orgs","repos_url":"https://api.github.com/users/liancheng/repos","events_url":"https://api.github.com/users/liancheng/events{/privacy}","received_events_url":"https://api.github.com/users/liancheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-14T19:37:38Z","updated_at":"2016-01-15T08:42:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10757","html_url":"https://github.com/apache/spark/pull/10757","diff_url":"https://github.com/apache/spark/pull/10757.diff","patch_url":"https://github.com/apache/spark/pull/10757.patch"},"body":"This PR introduces two major changes:\r\n\r\n1. Replacing `Expression.prettyString` with `Expression.sql`\r\n2. Adding trait `NonSQLExpression` extending from `Expression` for expressions that don't have a SQL representation (e.g. Scala UDF/UDAF and Java/Scala object expressions used for encoders)\r\n\r\n   `NonSQLExpression.sql` may return an arbitrary user facing string representation of the expression."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/171903025","html_url":"https://github.com/apache/spark/pull/10757#issuecomment-171903025","issue_url":"https://api.github.com/repos/apache/spark/issues/10757","id":171903025,"user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T08:42:10Z","updated_at":"2016-01-15T08:42:10Z","body":"(I'm thinking we should remove all backticks when generating name aliases)"}}