Skip to content

Commit

Permalink
Extend the interval date comparison (elastic#65348)
Browse files Browse the repository at this point in the history
(cherry picked from commit acfb463)
  • Loading branch information
astefan committed Nov 23, 2020
1 parent 7fbdcb5 commit c7dd95a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x-pack/plugin/sql/qa/server/src/main/resources/date.csv-spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ SELECT TRUNCATE(YEAR(TODAY() - INTERVAL 50 YEARS) / 1000) AS result;
;


// AwaitsFix https://github.com/elastic/elasticsearch/issues/65336
currentDateFilter-Ignore
SELECT first_name FROM test_emp WHERE hire_date > CURRENT_DATE() - INTERVAL 35 YEARS ORDER BY first_name ASC LIMIT 10;
currentDateFilter
SELECT first_name FROM test_emp WHERE hire_date > CURRENT_DATE() - INTERVAL 45 YEARS ORDER BY first_name ASC LIMIT 10;

first_name
-----------------
Expand Down

0 comments on commit c7dd95a

Please sign in to comment.