{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14469","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14469/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14469/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14469/events","html_url":"https://github.com/apache/spark/pull/14469","id":169015719,"number":14469,"title":"[SPARK-16700] [PYSPARK] [SQL] create DataFrame from dict/Row with schema","user":{"login":"davies","id":40902,"avatar_url":"https://avatars.githubusercontent.com/u/40902?v=3","gravatar_id":"","url":"https://api.github.com/users/davies","html_url":"https://github.com/davies","followers_url":"https://api.github.com/users/davies/followers","following_url":"https://api.github.com/users/davies/following{/other_user}","gists_url":"https://api.github.com/users/davies/gists{/gist_id}","starred_url":"https://api.github.com/users/davies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davies/subscriptions","organizations_url":"https://api.github.com/users/davies/orgs","repos_url":"https://api.github.com/users/davies/repos","events_url":"https://api.github.com/users/davies/events{/privacy}","received_events_url":"https://api.github.com/users/davies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-02T23:50:30Z","updated_at":"2016-08-15T18:57:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14469","html_url":"https://github.com/apache/spark/pull/14469","diff_url":"https://github.com/apache/spark/pull/14469.diff","patch_url":"https://github.com/apache/spark/pull/14469.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nIn 2.0, we verify the data type against schema for every row for safety, but with performance cost, this PR make it optional. \r\n\r\nWhen we verify the data type for StructType, it does not support all the types we support in infer schema (for example, dict), this PR fix that to make them consistent.\r\n\r\nFor Row object which is created using named arguments, the order of fields are sorted by name, they may be not different than the order in provided schema, this PR fix that by ignore the order of fields in this case.\r\n\r\n## How was this patch tested?\r\n\r\nCreated regression tests for them.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/239894312","html_url":"https://github.com/apache/spark/pull/14469#issuecomment-239894312","issue_url":"https://api.github.com/repos/apache/spark/issues/14469","id":239894312,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","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":"2016-08-15T18:57:44Z","updated_at":"2016-08-15T18:57:44Z","body":"**[Test build #63796 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/63796/consoleFull)** for PR 14469 at commit [`b37e6a8`](https://github.com/apache/spark/commit/b37e6a8a7c43c60ec98fc7f7ecf85a97e8a3eb61)."}}
{"actor":{"display_login":"SparkQA"}}