payload: {"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/24768","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/24768/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/24768/comments","events_url":"https://api.github.com/repos/apache/spark/issues/24768/events","html_url":"https://github.com/apache/spark/pull/24768","id":451248087,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg0MzgwNDg0","number":24768,"title":"[SPARK-27919][SQL] Add v2 session catalog","user":{"login":"rdblue","id":87915,"node_id":"MDQ6VXNlcjg3OTE1","avatar_url":"https://avatars1.githubusercontent.com/u/87915?v=4","gravatar_id":"","url":"https://api.github.com/users/rdblue","html_url":"https://github.com/rdblue","followers_url":"https://api.github.com/users/rdblue/followers","following_url":"https://api.github.com/users/rdblue/following{/other_user}","gists_url":"https://api.github.com/users/rdblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rdblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdblue/subscriptions","organizations_url":"https://api.github.com/users/rdblue/orgs","repos_url":"https://api.github.com/users/rdblue/repos","events_url":"https://api.github.com/users/rdblue/events{/privacy}","received_events_url":"https://api.github.com/users/rdblue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2019-06-02T23:44:30Z","updated_at":"2019-06-07T19:22:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/24768","html_url":"https://github.com/apache/spark/pull/24768","diff_url":"https://github.com/apache/spark/pull/24768.diff","patch_url":"https://github.com/apache/spark/pull/24768.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis fixes a problem where it is possible to create a v2 table using the default catalog that cannot be loaded with the session catalog. A session catalog should be used when the v1 catalog is responsible for tables with no catalog in the table identifier.\r\n\r\n* Adds a v2 catalog implementation that delegates to the analyzer's SessionCatalog\r\n* Uses the v2 session catalog for CTAS and CreateTable when the provider is a v2 provider and no v2 catalog is in the table identifier\r\n* Updates catalog lookup to always provide the default if it is set for consistent behavior\r\n\r\n## How was this patch tested?\r\n\r\n* Adds a new test suite for the v2 session catalog that validates the TableCatalog API\r\n* Adds test cases in PlanResolutionSuite to validate the v2 session catalog is used\r\n* Adds test suite for Transform extractors used by the v2 session catalog\r\n* Adds test suite for LookupCatalog with a default catalog"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/500008666","html_url":"https://github.com/apache/spark/pull/24768#issuecomment-500008666","issue_url":"https://api.github.com/repos/apache/spark/issues/24768","id":500008666,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMDAwODY2Ng==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2019-06-07T19:22:29Z","updated_at":"2019-06-07T19:22:29Z","author_association":"NONE","body":"Merged build finished. Test PASSed."}}
other: {"actor":{"display_login":"AmplabJenkins"}}