Uh oh!
There was an error while loading. Please reload this page.
[SPARK-31181][SQL][TESTS] Remove the default value assumption on CREATE TABLE test cases - #27946
[SPARK-31181][SQL][TESTS] Remove the default value assumption on CREATE TABLE test cases#27946dongjoon-hyun wants to merge 2 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Mar 18, 2020
Test build #119980 has finished for PR 27946 at commit
|
dongjoon-hyun
commented
Mar 18, 2020
Hi, @cloud-fan . Could you review this PR? |
| -- [SPARK-19842] Informational Referential Integrity Constraints Support in Spark | ||
| CREATE TABLE view_base_table (key int /* PRIMARY KEY */, data varchar(20)); | ||
| CREATE TABLE view_base_table (key int /* PRIMARY KEY */, data varchar(20)) USING PARQUET; |
There was a problem hiding this comment.
Shall we keep the pgsql test as what it is in pgsql?
There was a problem hiding this comment.
Hi, @cloud-fan . We are using CREATE TABLE USING even in pgsql test. It's okay to change this.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Mar 19, 2020
Test build #120066 has finished for PR 27946 at commit
|
cloud-fan
commented
Mar 20, 2020
thanks, merging to master/3.0! |
dongjoon-hyun
commented
Mar 20, 2020
Thank you, @cloud-fan ! Also, I closed #27894. |
…TE TABLE test cases A few `CREATE TABLE` test cases have some assumption on the default value of `LEGACY_CREATE_HIVE_TABLE_BY_DEFAULT_ENABLED`. This PR (SPARK-31181) makes the test cases more explicit from test-case side. The configuration change was tested via #27894 during discussing SPARK-31136. This PR has only the test case part from that PR. This makes our test case more robust in terms of the default value of `LEGACY_CREATE_HIVE_TABLE_BY_DEFAULT_ENABLED`. Even in the case where we switch the conf value, that will be one-liner with no test case changes. No. Pass the Jenkins with the existing tests. Closes#27946 from dongjoon-hyun/SPARK-EXPLICIT-TEST. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Wenchen Fan <wenchen@databricks.com> (cherry picked from commit f1cc867) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
…TE TABLE test cases ### What changes were proposed in this pull request? A few `CREATE TABLE` test cases have some assumption on the default value of `LEGACY_CREATE_HIVE_TABLE_BY_DEFAULT_ENABLED`. This PR (SPARK-31181) makes the test cases more explicit from test-case side. The configuration change was tested via apache#27894 during discussing SPARK-31136. This PR has only the test case part from that PR. ### Why are the changes needed? This makes our test case more robust in terms of the default value of `LEGACY_CREATE_HIVE_TABLE_BY_DEFAULT_ENABLED`. Even in the case where we switch the conf value, that will be one-liner with no test case changes. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Pass the Jenkins with the existing tests. Closesapache#27946 from dongjoon-hyun/SPARK-EXPLICIT-TEST. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
A few
CREATE TABLEtest cases have some assumption on the default value ofLEGACY_CREATE_HIVE_TABLE_BY_DEFAULT_ENABLED. This PR (SPARK-31181) makes the test cases more explicit from test-case side.The configuration change was tested via #27894 during discussing SPARK-31136. This PR has only the test case part from that PR.
Why are the changes needed?
This makes our test case more robust in terms of the default value of
LEGACY_CREATE_HIVE_TABLE_BY_DEFAULT_ENABLED. Even in the case where we switch the conf value, that will be one-liner with no test case changes.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the Jenkins with the existing tests.