Uh oh!
There was an error while loading. Please reload this page.
[SPARK-29442][SQL] Set default mode should override the existing mode - #26094
[SPARK-29442][SQL] Set default mode should override the existing mode#26094dongjoon-hyun wants to merge 4 commits into
default mode should override the existing mode#26094Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MaxGekk
commented
Oct 11, 2019
I am looking at
to convert string modes. Can we move the logic of default mode there, and reuse it from DataFrameWriter? |
MaxGekk
commented
Oct 11, 2019
This list does not include spark/python/pyspark/sql/readwriter.py Lines 594 to 597 in 36559b6 |
dongjoon-hyun
commented
Oct 11, 2019
This sounds like different one. We need a different JIRA.
For |
default mode should override the existing modedefault mode should override the existing modeUh oh!
There was an error while loading. Please reload this page.
dongjoon-hyun
commented
Oct 12, 2019
Retest this please. |
SparkQA
commented
Oct 13, 2019
Test build #111980 has finished for PR 26094 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
default mode should override the existing modedefault mode should override the existing modeHi, All. Thank you for review. |
SparkQA
commented
Oct 14, 2019
Test build #112043 has finished for PR 26094 at commit
|
cc, @cloud-fan and @brkyvz . |
What changes were proposed in this pull request?
This PR aims to fix the behavior of
mode("default")to setSaveMode.ErrorIfExists. Also, this PR updates the exception message by addingdefaultexplicitly.Why are the changes needed?
This is reported during
GRAPH APIPR. This builder pattern should work like the documentation.Does this PR introduce any user-facing change?
Yes if the app has multiple
mode()invocation includingmode("default")and themode("default")is the last invocation. This is really a corner case.No-Op.How was this patch tested?
Pass the Jenkins with the newly added test case.