-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-5138][SQL] Ensure schema can be inferred from a namedtuple #3978
Conversation
Can one of the admins verify this patch? |
/cc @davies |
@mulby Thanks to fix the bugs, it looks good to me. BTW, could you also fix the bug when raise the exception if obj is tuple (it should be converted to str)? Jenkins, OK to test. |
Test build #561 has started for PR 3978 at commit
|
Test build #561 has finished for PR 3978 at commit
|
@davies thanks for the prompt review. I've included that fix as well. |
ok to test @davies good to go now? |
Test build #562 has started for PR 3978 at commit
|
Test build #562 has finished for PR 3978 at commit
|
@marmbrus I think it's good to go, thanks! |
Jenkins, retest this please. |
Test build #25443 has started for PR 3978 at commit
|
Test build #25443 has finished for PR 3978 at commit
|
Test PASSed. |
Thanks! Merged to master. |
When attempting to infer the schema of an RDD that contains namedtuples, pyspark fails to identify the records as namedtuples, resulting in it raising an error.
Example:
The error raised is: