Uh oh!
There was an error while loading. Please reload this page.
[SPARK-17732][SQL] ALTER TABLE DROP PARTITION should support comparators - #15302
[SPARK-17732][SQL] ALTER TABLE DROP PARTITION should support comparators#15302dongjoon-hyun wants to merge 1 commit into
Conversation
SparkQA
commented
Sep 29, 2016
Test build #66123 has finished for PR 15302 at commit
|
SparkQA
commented
Sep 30, 2016
Test build #66130 has finished for PR 15302 at commit
|
dongjoon-hyun
commented
Oct 1, 2016
Rebased to the master. |
SparkQA
commented
Oct 1, 2016
Test build #66219 has finished for PR 15302 at commit
|
dongjoon-hyun
commented
Oct 1, 2016
The only failure is the following in |
dongjoon-hyun
commented
Oct 1, 2016
Retest this please. |
SparkQA
commented
Oct 1, 2016
Test build #66225 has finished for PR 15302 at commit
|
dongjoon-hyun
commented
Oct 1, 2016
Hi, @hvanhovell . |
dongjoon-hyun
commented
Oct 3, 2016
Hi, @hvanhovell . |
hvanhovell
commented
Oct 3, 2016
@dongjoon-hyun I have taken a quick look. Shouldn't we just use Expressions for filtering partitions? |
dongjoon-hyun
commented
Oct 3, 2016
Thank you for review, @hvanhovell ! Do you mean SQL grammar or |
dongjoon-hyun
commented
Oct 3, 2016
Recently, I've watched you improved those related function greatly. |
hvanhovell
commented
Oct 3, 2016
@dongjoon-hyun I think that I have added a few things the |
dongjoon-hyun
commented
Oct 3, 2016
I see. Then, how can evaluate the generic expression? Is it okay to use 'eval(null)'? |
dongjoon-hyun
commented
Oct 3, 2016
Thank you for the direction. I'll proceed to improve in that way. |
SparkQA
commented
Oct 3, 2016
Test build #66276 has finished for PR 15302 at commit
|
dongjoon-hyun
commented
Oct 3, 2016
The only failure looks irrelevant. Anyway, I'm revising the PR. [info] ***1SUITEABORTED***
[error] Error:Total2604, Failed0, Errors1, Passed2603, Ignored48
[error] Error during tests:
[error] org.apache.spark.sql.jdbc.JDBCWriteSuite
[error] (sql/test:test) sbt.TestsFailedException:Tests unsuccessful
[error] Totaltime: 718 s, completed Oct3, 20162:23:41PM |
dongjoon-hyun
commented
Oct 17, 2016
Hi, @hvanhovell . When using
ALTERTABLE sales DROP PARTITION (country <'KR')To avoid this situations, I can add some rule to |
dongjoon-hyun
commented
Oct 17, 2016
With today's master, it's like the following. Should we use expression in org.apache.spark.sql.AnalysisException: cannot resolve '`country`'giveninputcolumns: []; line 1 pos 23;
'AlterTableDropPartitionCommand `sales`, [('country<KR)], false, false |
dongjoon-hyun
commented
Oct 19, 2016
Hi, @hvanhovell . |
dongjoon-hyun
commented
Oct 31, 2016
Hi, @hvanhovell . |
hvanhovell
commented
Oct 31, 2016
@dongjoon-hyun I'll take a look tomorrow. |
dongjoon-hyun
commented
Oct 31, 2016
Thank you, @hvanhovell ! |
dongjoon-hyun
commented
Nov 14, 2016
I'm closing this PR in favor of #15704 . |
What changes were proposed in this pull request?
This PR aims to support
comparators, e.g. '<', '<=', '>', '>=', again in Apache Spark 2.0 for backward compatibility.Spark 1.6.2
Spark 2.0
After this PR, it's supported.
How was this patch tested?
Pass the Jenkins test with a newly added testcase.