spark-instrumented-optimizer/common
Kent Yao 17857f9b8b [SPARK-30551][SQL] Disable comparison for interval type
### What changes were proposed in this pull request?

As we are not going to follow ANSI to implement year-month and day-time interval types, it is weird to compare the year-month part to the day-time part for our current implementation of interval type now.

Additionally, the current ordering logic comes from PostgreSQL where the implementation of the interval is messy. And we are not aiming PostgreSQL compliance at all.

THIS PR will revert https://github.com/apache/spark/pull/26681 and https://github.com/apache/spark/pull/26337

### Why are the changes needed?

make interval type more future-proofing

### Does this PR introduce any user-facing change?

there are new in 3.0, so no

### How was this patch tested?

existing uts shall work

Closes #27262 from yaooqinn/SPARK-30551.

Authored-by: Kent Yao <yaooqinn@hotmail.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
2020-01-19 15:27:51 +08:00
..
kvstore [SPARK-30272][SQL][CORE] Remove usage of Guava that breaks in 27; replace with workalikes 2019-12-20 08:55:04 -06:00
network-common [SPARK-27868][CORE][FOLLOWUP] Recover the default value to -1 again 2020-01-17 10:43:47 -08:00
network-shuffle [SPARK-30290][CORE] Count for merged block when fetching continuous blocks in batch 2019-12-25 18:57:02 +08:00
network-yarn [SPARK-30272][SQL][CORE] Remove usage of Guava that breaks in 27; replace with workalikes 2019-12-20 08:55:04 -06:00
sketch [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00
tags [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00
unsafe [SPARK-30551][SQL] Disable comparison for interval type 2020-01-19 15:27:51 +08:00