[ https://issues.apache.org/jira/browse/SPARK-23866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-23866. ----------------------------- Resolution: Duplicate > Extend ALTER TABLE DROP PARTITION syntax to use all comparators > --------------------------------------------------------------- > > Key: SPARK-23866 > URL: https://issues.apache.org/jira/browse/SPARK-23866 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.3.0 > Reporter: Dong Jiang > Priority: Major > > Please add SQL support equivalent to drop multiple partitions by operators > other than =, basically equivalent of > https://issues.apache.org/jira/browse/HIVE-2908 > "To drop a partition from a Hive table, this works: > ALTER TABLE foo DROP PARTITION(ds = 'date') > ...but it should also work to drop all partitions prior to date. > ALTER TABLE foo DROP PARTITION(ds < 'date') > This task is to implement ALTER TABLE DROP PARTITION for all of the > comparators, < > <= >= <> = != instead of just for =." -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org