Uh oh!
There was an error while loading. Please reload this page.
[SPARK-36902][SQL] Migrate CreateTableAsSelectStatement to v2 command - #34667
[SPARK-36902][SQL] Migrate CreateTableAsSelectStatement to v2 command#34667dchvn wants to merge 9 commits into
Conversation
dchvn
commented
Nov 19, 2021
CC @huaxingao FYI, Please take a look when you find some time, thanks! |
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Nov 19, 2021
Kubernetes integration test starting |
SparkQA
commented
Nov 19, 2021
Kubernetes integration test status failure |
SparkQA
commented
Nov 19, 2021
Test build #145451 has finished for PR 34667 at commit
|
SparkQA
commented
Nov 30, 2021
Kubernetes integration test starting |
SparkQA
commented
Nov 30, 2021
Kubernetes integration test status failure |
SparkQA
commented
Nov 30, 2021
Test build #145767 has finished for PR 34667 at commit
|
dchvn
commented
Dec 1, 2021
CC @huaxingao@cloud-fan FYI, thanks! |
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.
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.
SparkQA
commented
Dec 2, 2021
Kubernetes integration test starting |
SparkQA
commented
Dec 2, 2021
Kubernetes integration test status failure |
SparkQA
commented
Dec 2, 2021
Test build #145837 has finished for PR 34667 at commit
|
SparkQA
commented
Dec 3, 2021
Kubernetes integration test starting |
SparkQA
commented
Dec 3, 2021
Kubernetes integration test status failure |
| val tableSpec = TableSpec( | ||
| bucketSpec = None, | ||
| properties = Map(TableCatalog.PROP_PROVIDER -> source) ++ location, |
There was a problem hiding this comment.
I think this should not include the location property. We already specify it in TableSpec.location
There was a problem hiding this comment.
Actually, we should put Map.empty here. provide is also specified in TableSpec.provider
SparkQA
commented
Dec 3, 2021
Test build #145876 has finished for PR 34667 at commit
|
SparkQA
commented
Dec 3, 2021
Kubernetes integration test starting |
SparkQA
commented
Dec 3, 2021
Kubernetes integration test status failure |
SparkQA
commented
Dec 3, 2021
Test build #145890 has finished for PR 34667 at commit
|
cloud-fan
commented
Dec 3, 2021
thanks, merging to master! |
dchvn
commented
Dec 3, 2021
thanks! |
dongjoon-hyun
commented
Dec 3, 2021
Hi, @dchvn and @cloud-fan . |
| Some(source), | ||
| df.queryExecution.analyzed, | ||
| tableSpec, | ||
| Map.empty, |
There was a problem hiding this comment.
@huaxingao can you fix this similar bug as well when you open the PR?
…write options in CTAS and RTAS ### What changes were proposed in this pull request? `DataFrameWriter.saveAsTable` should pass `extraOptions.toMap` as the write options in CTAS and RTAS ### Why are the changes needed? bug fixing please see #34754 (comment)#34667 (comment) ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? new test Closes#34997 from huaxingao/write_option. Authored-by: Huaxin Gao <huaxin_gao@apple.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
Migrate CreateTableAsSelectStatement to v2 command
Why are the changes needed?
Migrate CreateTableAsSelectStatement to v2 command
Does this PR introduce any user-facing change?
No
How was this patch tested?
existing tests