{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21222","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21222/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21222/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21222/events","html_url":"https://github.com/apache/spark/pull/21222","id":319771599,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg1NjA1NjU2","number":21222,"title":"[SPARK-24161][SS] Enable debug package feature on structured streaming","user":{"login":"HeartSaVioR","id":1317309,"node_id":"MDQ6VXNlcjEzMTczMDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1317309?v=4","gravatar_id":"","url":"https://api.github.com/users/HeartSaVioR","html_url":"https://github.com/HeartSaVioR","followers_url":"https://api.github.com/users/HeartSaVioR/followers","following_url":"https://api.github.com/users/HeartSaVioR/following{/other_user}","gists_url":"https://api.github.com/users/HeartSaVioR/gists{/gist_id}","starred_url":"https://api.github.com/users/HeartSaVioR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeartSaVioR/subscriptions","organizations_url":"https://api.github.com/users/HeartSaVioR/orgs","repos_url":"https://api.github.com/users/HeartSaVioR/repos","events_url":"https://api.github.com/users/HeartSaVioR/events{/privacy}","received_events_url":"https://api.github.com/users/HeartSaVioR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-05-03T02:38:08Z","updated_at":"2018-07-16T07:05:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21222","html_url":"https://github.com/apache/spark/pull/21222","diff_url":"https://github.com/apache/spark/pull/21222.diff","patch_url":"https://github.com/apache/spark/pull/21222.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nCurrently, debug package has a implicit class \"DebugQuery\" which matches Dataset to provide debug features on Dataset class. It doesn't work with structured streaming: it requires query is already started, and the information can be retrieved from StreamingQuery, not Dataset. I guess that's why \"explain\" had to be placed to StreamingQuery whereas it already exists on Dataset.\r\n\r\nThis patch adds a new implicit class \"DebugStreamQuery\" which matches StreamingQuery to provide similar debug features on StreamingQuery class.\r\n\r\n## How was this patch tested?\r\n\r\nAdded relevant unit tests."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/405163429","html_url":"https://github.com/apache/spark/pull/21222#issuecomment-405163429","issue_url":"https://api.github.com/repos/apache/spark/issues/21222","id":405163429,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTE2MzQyOQ==","user":{"login":"SparkQA","id":8108735,"node_id":"MDQ6VXNlcjgxMDg3MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/8108735?v=4","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T07:05:01Z","updated_at":"2018-07-16T07:05:01Z","author_association":"NONE","body":"**[Test build #93071 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/93071/testReport)** for PR 21222 at commit [`b9bad1a`](https://github.com/apache/spark/commit/b9bad1ae6618606e91df35f854025bc32c8178de).\n * This patch **fails due to an unknown error code, -9**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}
{"actor":{"display_login":"SparkQA"}}