{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10712","labels_url":"https://api.github.com/repos/apache/spark/issues/10712/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10712/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10712/events","html_url":"https://github.com/apache/spark/pull/10712","id":126067314,"number":10712,"title":"[SPARK-12724] SQL generation support for persisted data source tables","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":12,"created_at":"2016-01-12T00:06:47Z","updated_at":"2016-01-12T21:57:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10712","html_url":"https://github.com/apache/spark/pull/10712","diff_url":"https://github.com/apache/spark/pull/10712.diff","patch_url":"https://github.com/apache/spark/pull/10712.patch"},"body":"This PR implements SQL generation support for persisted data source tables.  A new field `metastoreTableIdentifier: Option[TableIdentifier]` is added to `LogicalRelation`.  When a `LogicalRelation` representing a persisted data source relation is created, this field holds the database name and table name of the relation."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/171072258","html_url":"https://github.com/apache/spark/pull/10712#issuecomment-171072258","issue_url":"https://api.github.com/repos/apache/spark/issues/10712","id":171072258,"user":{"login":"cloud-fan","id":3182036,"avatar_url":"https://avatars.githubusercontent.com/u/3182036?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud-fan","html_url":"https://github.com/cloud-fan","followers_url":"https://api.github.com/users/cloud-fan/followers","following_url":"https://api.github.com/users/cloud-fan/following{/other_user}","gists_url":"https://api.github.com/users/cloud-fan/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-fan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-fan/subscriptions","organizations_url":"https://api.github.com/users/cloud-fan/orgs","repos_url":"https://api.github.com/users/cloud-fan/repos","events_url":"https://api.github.com/users/cloud-fan/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-fan/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T21:57:41Z","updated_at":"2016-01-12T21:57:41Z","body":"LGTM"}}