Uh oh!
There was an error while loading. Please reload this page.
[SPARK-14922][SPARK-17732][SPARK-23866][SQL] Support partition filter in ALTER TABLE DROP PARTITION and batch dropping PARTITIONS - #26280
Conversation
mgaido91
commented
Oct 28, 2019
please fix all failures |
a4e67c3 to
ce453edCompareweixiuli
commented
Oct 29, 2019
Ping @cloud-fan@mgaido91@maropu@DazhuangSu Kindly review, thanks. |
maropu
commented
Oct 29, 2019
ok to test |
SparkQA
commented
Oct 29, 2019
Test build #112830 has finished for PR 26280 at commit
|
weixiuli
commented
Oct 29, 2019
please retry test |
weixiuli
commented
Oct 29, 2019
jenkins, retest this, please |
maropu
commented
Oct 29, 2019
retest this please |
SparkQA
commented
Oct 29, 2019
Test build #112845 has finished for PR 26280 at commit
|
weixiuli
commented
Oct 29, 2019
retest this please |
wangyum
commented
Oct 30, 2019
retest this please |
SparkQA
commented
Oct 30, 2019
Test build #112919 has finished for PR 26280 at commit
|
ce453ed to
a0c42fdCompareSparkQA
commented
Oct 31, 2019
Test build #113000 has finished for PR 26280 at commit
|
weixiuli
commented
Oct 31, 2019
retest this please |
1 similar comment
maropu
commented
Oct 31, 2019
retest this please |
SparkQA
commented
Oct 31, 2019
Test build #113022 has finished for PR 26280 at commit
|
a0c42fd to
1bd2cd3CompareSparkQA
commented
Nov 1, 2019
Test build #113084 has finished for PR 26280 at commit
|
1bd2cd3 to
e27f13cCompareSparkQA
commented
Nov 14, 2019
Test build #113747 has finished for PR 26280 at commit
|
weixiuli
commented
Nov 14, 2019
retest this please |
e27f13c to
21cd780CompareSparkQA
commented
Nov 14, 2019
Test build #113757 has finished for PR 26280 at commit
|
21cd780 to
0d5bc03CompareSparkQA
commented
Nov 14, 2019
Test build #113775 has finished for PR 26280 at commit
|
0d5bc03 to
11b4cb0CompareSparkQA
commented
Nov 15, 2019
Test build #113834 has finished for PR 26280 at commit
|
11b4cb0 to
9d3ede5CompareSparkQA
commented
Nov 15, 2019
Test build #113852 has finished for PR 26280 at commit
|
retest this please. |
…s in ALTER TABLE DROP PARTITION and batch dropping PARTITIONS - Support partition filters in ALTER TABLE DROP PARTITION. - Support batch dropping PARTITIONS by 'ExpressionBuilder'.
9d3ede5 to
c2639d0CompareSparkQA
commented
Nov 19, 2019
Test build #114062 has finished for PR 26280 at commit
|
weixiuli
commented
Nov 19, 2019
@cloud-fan Could you review this PR , thanks. |
| ; | ||
| dropPartitionVal | ||
| : identifier (comparisonOperator constant)? |
There was a problem hiding this comment.
One suggestion, can we replace constant with expression? In our PROD environment, there are some requirements like 'ALTER TABLE xxx DROP PARTITION (col < CURRENT_DATE)'.
wangshisan
commented
Dec 19, 2019
This is also a requirement in our PROD environment, could anyone help review? |
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
What changes were proposed in this pull request?
Spark only can drop partitions by exact values. For instance, Spark doesn't support:
The PR adds the support to this syntax.
The PR takes input from the effort in #19691 by @DazhuangSu , in #20999 by @mgaido91 ,
, there are some related PRs: #15987,#16036,#19691,#15704.
some related issues:
https://issues.apache.org/jira/browse/SPARK-14922
https://issues.apache.org/jira/browse/SPARK-17732
https://issues.apache.org/jira/browse/SPARK-23866
How was this patch tested?
Add unittests.