{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11957","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11957/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11957/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11957/events","html_url":"https://github.com/apache/spark/pull/11957","id":143460429,"number":11957,"title":"[SPARK-14156][SQL] Use executedPlan in HiveComparisonTest for the messages of computed tables","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-25T09:03:40Z","updated_at":"2016-03-25T10:40:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11957","html_url":"https://github.com/apache/spark/pull/11957","diff_url":"https://github.com/apache/spark/pull/11957.diff","patch_url":"https://github.com/apache/spark/pull/11957.patch"},"body":"## What changes were proposed in this pull request?\r\nJIRA: https://issues.apache.org/jira/browse/SPARK-14156\r\n\r\nIn HiveComparisonTest, when catalyst results are different to hive results, we will collect the messages for computed tables during the test. During creating the message, we use sparkPlan. But we actually run the query with executedPlan. So the error message is sometimes confusing.\r\n\r\nFor example, as wholestage codegen is enabled by default now. The shown spark plan for computed tables is the plan before wholestage codegen.\r\n\r\n## How was this patch tested?\r\nExisting tests.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/201236251","html_url":"https://github.com/apache/spark/pull/11957#issuecomment-201236251","issue_url":"https://api.github.com/repos/apache/spark/issues/11957","id":201236251,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","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":"2016-03-25T10:40:04Z","updated_at":"2016-03-25T10:40:04Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54167/\nTest PASSed."}}