[SPARK-28454][PYTHON] Validate LongType in createDataFrame(verifySchema=True)#25117
[SPARK-28454][PYTHON] Validate LongType in createDataFrame(verifySchema=True)#25117simplylizz wants to merge 5 commits intoapache:masterfrom simplylizz:master
createDataFrame(verifySchema=True)#25117Conversation
|
Can you show the output before / after? Also, please file a JIRA. See https://spark.apache.org/contributing.html |
|
ok to test |
|
Test build #107661 has finished for PR 25117 at commit
|
Could you clarify what kind of output do you want to see? Test results or what? |
|
Test build #107928 has finished for PR 25117 at commit
|
|
Test build #107936 has finished for PR 25117 at commit
|
|
|
|
Unpatched version: Patched: |
HyukjinKwon
left a comment
There was a problem hiding this comment.
Can you post the comment in PR description and update migration guide (https://github.com/apache/spark/blob/master/docs/sql-migration-guide-upgrade.md#upgrading-from-spark-sql-24-to-30) as well?
We can mention like in spark 3.0, it verifies long type when creating a dataframe via spark.createDataFrame. Previously long type was not verified and resulted in null. To keep this behavior, set verifySchema=False.
createDataFrame(verifySchema=True)
|
Done. |
|
Test build #108489 has finished for PR 25117 at commit
|
|
Test build #108488 has finished for PR 25117 at commit
|
|
@HyukjinKwon any action required from my side? It seems that tests are just flapping. They are failing in unrelated parts of code which I didn't touch. |
|
retest this please |
|
Test build #108759 has finished for PR 25117 at commit
|
|
Test build #108761 has finished for PR 25117 at commit
|
|
Merged to master. |
|
Thanks for the contribution, @simplylizz |
What changes were proposed in this pull request?
Add missing validation for
LongTypeinpyspark.sql.types._make_type_verifier.How was this patch tested?
Doctests / unittests / manual tests.
Unpatched version:
Patched: