{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6686","labels_url":"https://api.github.com/repos/apache/spark/issues/6686/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6686/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6686/events","html_url":"https://github.com/apache/spark/pull/6686","id":85773222,"number":6686,"title":"[SPARK-8056][SQL][WIP] Design an easier way to construct schema for both Scala and Python","user":{"login":"ilganeli","id":1483345,"avatar_url":"https://avatars.githubusercontent.com/u/1483345?v=3","gravatar_id":"","url":"https://api.github.com/users/ilganeli","html_url":"https://github.com/ilganeli","followers_url":"https://api.github.com/users/ilganeli/followers","following_url":"https://api.github.com/users/ilganeli/following{/other_user}","gists_url":"https://api.github.com/users/ilganeli/gists{/gist_id}","starred_url":"https://api.github.com/users/ilganeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilganeli/subscriptions","organizations_url":"https://api.github.com/users/ilganeli/orgs","repos_url":"https://api.github.com/users/ilganeli/repos","events_url":"https://api.github.com/users/ilganeli/events{/privacy}","received_events_url":"https://api.github.com/users/ilganeli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-06-06T15:51:54Z","updated_at":"2015-06-09T19:12:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6686","html_url":"https://github.com/apache/spark/pull/6686","diff_url":"https://github.com/apache/spark/pull/6686.diff","patch_url":"https://github.com/apache/spark/pull/6686.patch"},"body":"I've added functionality to create new StructType similar to how we add parameters to a new SparkContext.\r\n\r\nI've updated most of the StructType class to make it so the underlying data store is based off a map of fields instead of the array used to construct it. This both enables the above functionality and clarifies some semantics of what's going on internally in terms of how the data is used and also guards against an issue previously present where one could have duplicates in the schema that would cause problems."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/110467749","html_url":"https://github.com/apache/spark/pull/6686#issuecomment-110467749","issue_url":"https://api.github.com/repos/apache/spark/issues/6686","id":110467749,"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":"2015-06-09T19:12:21Z","updated_at":"2015-06-09T19:12:21Z","body":"Merged build started."}}