From 94251c9b43c0a21f829ff82d23abd55c5859aab1 Mon Sep 17 00:00:00 2001 From: Marios Trivyzas Date: Tue, 28 Jan 2020 21:54:36 +0100 Subject: [PATCH] adapt test --- x-pack/plugin/sql/qa/src/main/resources/datetime.sql-spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/sql/qa/src/main/resources/datetime.sql-spec b/x-pack/plugin/sql/qa/src/main/resources/datetime.sql-spec index c3132b66078d1..98fafcc25952b 100644 --- a/x-pack/plugin/sql/qa/src/main/resources/datetime.sql-spec +++ b/x-pack/plugin/sql/qa/src/main/resources/datetime.sql-spec @@ -128,7 +128,7 @@ SELECT MAX(salary) AS max FROM test_emp GROUP BY NOW(); // ORDER BY // orderByYear -SELECT YEAR(birth_date) as year, emp_no FROM test_emp ORDER BY year DESC, emp_no ASC; +SELECT YEAR(birth_date) as year, emp_no FROM test_emp ORDER BY year NULLS FIRST, emp_no ASC; // ES will consider a TIME in UTC, if no other indication is given and H2 doesn't consider the timezone for times, so no TZSync'ing needed. hourFromStringTime