{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/46371848","id":46371848,"diff_hunk":"@@ -17,9 +17,11 @@\n \n package org.apache.spark.sql.execution.datasources.text\n \n+import com.google.common.io.Files\n+import org.apache.hadoop.io.compress.GzipCodec\n import org.apache.spark.sql.test.SharedSQLContext\n import org.apache.spark.sql.types.{StringType, StructType}\n-import org.apache.spark.sql.{AnalysisException, DataFrame, QueryTest, Row}\n+import org.apache.spark.sql._","path":"sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/text/TextSuite.scala","position":9,"original_position":9,"commit_id":"5269f4c4e04bfd6002b748445fd8bbd080365ffc","original_commit_id":"5269f4c4e04bfd6002b748445fd8bbd080365ffc","user":{"login":"Lewuathe","id":1713047,"avatar_url":"https://avatars.githubusercontent.com/u/1713047?v=3","gravatar_id":"","url":"https://api.github.com/users/Lewuathe","html_url":"https://github.com/Lewuathe","followers_url":"https://api.github.com/users/Lewuathe/followers","following_url":"https://api.github.com/users/Lewuathe/following{/other_user}","gists_url":"https://api.github.com/users/Lewuathe/gists{/gist_id}","starred_url":"https://api.github.com/users/Lewuathe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lewuathe/subscriptions","organizations_url":"https://api.github.com/users/Lewuathe/orgs","repos_url":"https://api.github.com/users/Lewuathe/repos","events_url":"https://api.github.com/users/Lewuathe/events{/privacy}","received_events_url":"https://api.github.com/users/Lewuathe/received_events","type":"User","site_admin":false},"body":"Is it necessary to use underscore here?","created_at":"2015-12-02T02:48:11Z","updated_at":"2015-12-02T02:48:11Z","html_url":"https://github.com/apache/spark/pull/9657#discussion_r46371848","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/9657","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/46371848"},"html":{"href":"https://github.com/apache/spark/pull/9657#discussion_r46371848"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/9657"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9657","id":50482760,"html_url":"https://github.com/apache/spark/pull/9657","diff_url":"https://github.com/apache/spark/pull/9657.diff","patch_url":"https://github.com/apache/spark/pull/9657.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/9657","number":9657,"state":"open","locked":false,"title":"[SPARK-11691][SQL] Allow to specify compression codec in HadoopFsRela…","user":{"login":"zjffdu","id":164491,"avatar_url":"https://avatars.githubusercontent.com/u/164491?v=3","gravatar_id":"","url":"https://api.github.com/users/zjffdu","html_url":"https://github.com/zjffdu","followers_url":"https://api.github.com/users/zjffdu/followers","following_url":"https://api.github.com/users/zjffdu/following{/other_user}","gists_url":"https://api.github.com/users/zjffdu/gists{/gist_id}","starred_url":"https://api.github.com/users/zjffdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zjffdu/subscriptions","organizations_url":"https://api.github.com/users/zjffdu/orgs","repos_url":"https://api.github.com/users/zjffdu/repos","events_url":"https://api.github.com/users/zjffdu/events{/privacy}","received_events_url":"https://api.github.com/users/zjffdu/received_events","type":"User","site_admin":false},"body":"…tion when saving","created_at":"2015-11-12T08:19:29Z","updated_at":"2015-12-02T02:48:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e82a02b5acaf1ded521faa1b40574e804e7cc93","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/9657/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/9657/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/9657/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/5269f4c4e04bfd6002b748445fd8bbd080365ffc","head":{"label":"zjffdu:SPARK-11691","ref":"SPARK-11691","sha":"5269f4c4e04bfd6002b748445fd8bbd080365ffc","user":{"login":"zjffdu","id":164491,"avatar_url":"https://avatars.githubusercontent.com/u/164491?v=3","gravatar_id":"","url":"https://api.github.com/users/zjffdu","html_url":"https://github.com/zjffdu","followers_url":"https://api.github.com/users/zjffdu/followers","following_url":"https://api.github.com/users/zjffdu/following{/other_user}","gists_url":"https://api.github.com/users/zjffdu/gists{/gist_id}","starred_url":"https://api.github.com/users/zjffdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zjffdu/subscriptions","organizations_url":"https://api.github.com/users/zjffdu/orgs","repos_url":"https://api.github.com/users/zjffdu/repos","events_url":"https://api.github.com/users/zjffdu/events{/privacy}","received_events_url":"https://api.github.com/users/zjffdu/received_events","type":"User","site_admin":false},"repo":{"id":39936462,"name":"spark","full_name":"zjffdu/spark","owner":{"login":"zjffdu","id":164491,"avatar_url":"https://avatars.githubusercontent.com/u/164491?v=3","gravatar_id":"","url":"https://api.github.com/users/zjffdu","html_url":"https://github.com/zjffdu","followers_url":"https://api.github.com/users/zjffdu/followers","following_url":"https://api.github.com/users/zjffdu/following{/other_user}","gists_url":"https://api.github.com/users/zjffdu/gists{/gist_id}","starred_url":"https://api.github.com/users/zjffdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zjffdu/subscriptions","organizations_url":"https://api.github.com/users/zjffdu/orgs","repos_url":"https://api.github.com/users/zjffdu/repos","events_url":"https://api.github.com/users/zjffdu/events{/privacy}","received_events_url":"https://api.github.com/users/zjffdu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zjffdu/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/zjffdu/spark","forks_url":"https://api.github.com/repos/zjffdu/spark/forks","keys_url":"https://api.github.com/repos/zjffdu/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zjffdu/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zjffdu/spark/teams","hooks_url":"https://api.github.com/repos/zjffdu/spark/hooks","issue_events_url":"https://api.github.com/repos/zjffdu/spark/issues/events{/number}","events_url":"https://api.github.com/repos/zjffdu/spark/events","assignees_url":"https://api.github.com/repos/zjffdu/spark/assignees{/user}","branches_url":"https://api.github.com/repos/zjffdu/spark/branches{/branch}","tags_url":"https://api.github.com/repos/zjffdu/spark/tags","blobs_url":"https://api.github.com/repos/zjffdu/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zjffdu/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zjffdu/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/zjffdu/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zjffdu/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/zjffdu/spark/languages","stargazers_url":"https://api.github.com/repos/zjffdu/spark/stargazers","contributors_url":"https://api.github.com/repos/zjffdu/spark/contributors","subscribers_url":"https://api.github.com/repos/zjffdu/spark/subscribers","subscription_url":"https://api.github.com/repos/zjffdu/spark/subscription","commits_url":"https://api.github.com/repos/zjffdu/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/zjffdu/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/zjffdu/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/zjffdu/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/zjffdu/spark/contents/{+path}","compare_url":"https://api.github.com/repos/zjffdu/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zjffdu/spark/merges","archive_url":"https://api.github.com/repos/zjffdu/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zjffdu/spark/downloads","issues_url":"https://api.github.com/repos/zjffdu/spark/issues{/number}","pulls_url":"https://api.github.com/repos/zjffdu/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/zjffdu/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/zjffdu/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zjffdu/spark/labels{/name}","releases_url":"https://api.github.com/repos/zjffdu/spark/releases{/id}","created_at":"2015-07-30T07:09:14Z","updated_at":"2015-07-30T07:10:53Z","pushed_at":"2015-12-02T01:36:46Z","git_url":"git://github.com/zjffdu/spark.git","ssh_url":"git@github.com:zjffdu/spark.git","clone_url":"https://github.com/zjffdu/spark.git","svn_url":"https://github.com/zjffdu/spark","homepage":null,"size":135733,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"e2957bc085d39d59c09e4b33c26a05f0263200a3","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-12-02T02:25:38Z","pushed_at":"2015-12-02T02:47:16Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":388709,"stargazers_count":6415,"watchers_count":6415,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5926,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":382,"forks":5926,"open_issues":382,"watchers":6415,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/9657"},"html":{"href":"https://github.com/apache/spark/pull/9657"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/9657"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/9657/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/9657/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/9657/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/5269f4c4e04bfd6002b748445fd8bbd080365ffc"}}}}