GitHub user mgaido91 opened a pull request:

    [WIP][SPARK-23866][SQL] Support partition filters in ALTER TABLE DROP 

    ## What changes were proposed in this pull request?
    Hive has been supporting for a while the ability of dropping partitions 
using any kind of comparison operator on them. Spark so far is supporting only 
dropping partitions by exact values. For instance, Spark doesn't support:
    ALTER TABLE mytable DROP PARTITION(mydate < '2018-04-06')
    The PR adds the support to this syntax too.
    ## How was this patch tested?
    UTs to be added

You can merge this pull request into a Git repository by running:

    $ git pull SPARK-23866

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20999
commit b57a5d1797dbe206aeb0a4d2a24ccd0c73845dc8
Author: Marco Gaido <marcogaido91@...>
Date:   2018-04-05T15:35:19Z

    [WIP][SPARK-23866][SQL] Support partition filters in ALTER TABLE DROP 



To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to