This is an automated email from the ASF dual-hosted git repository.

amashenkov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a1f0b1607 IGNITE-21970 Sql. Extend test coverage for SQL F051-06, 
F051-07, F051-08 (Basic date and time) (#3820)
4a1f0b1607 is described below

commit 4a1f0b16078161f07bfe8d2bf05e27fbfcfd5a3c
Author: Andrew V. Mashenkov <[email protected]>
AuthorDate: Tue May 28 12:57:14 2024 +0300

    IGNITE-21970 Sql. Extend test coverage for SQL F051-06, F051-07, F051-08 
(Basic date and time) (#3820)
---
 .../java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java | 5 +++++
 .../src/integrationTest/sql/function/timestamp/current_time.test    | 6 ------
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git 
a/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java
 
b/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java
index 2e3356084e..8657456186 100644
--- 
a/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java
+++ 
b/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java
@@ -82,6 +82,11 @@ public class ItFunctionsTest extends BaseSqlIntegrationTest {
         assertQuery("SELECT OCTET_LENGTH(NULL)").returns(NULL_RESULT).check();
     }
 
+    /**
+     * SQL F051-06 feature. Basic date and time. CURRENT_DATE.
+     * SQL F051-07 feature. Basic date and time. LOCALTIME.
+     * SQL F051-08 feature. Basic date and time. LOCALTIMESTAMP.
+     */
     @ParameterizedTest(name = "use default time zone: {0}")
     @ValueSource(booleans = {true, false})
     public void testCurrentDateTimeTimeStamp(boolean useDefaultTimeZone) {
diff --git 
a/modules/sql-engine/src/integrationTest/sql/function/timestamp/current_time.test
 
b/modules/sql-engine/src/integrationTest/sql/function/timestamp/current_time.test
deleted file mode 100644
index a33d330f60..0000000000
--- 
a/modules/sql-engine/src/integrationTest/sql/function/timestamp/current_time.test
+++ /dev/null
@@ -1,6 +0,0 @@
-# name: test/sql/function/timestamp/current_time.test
-# description: Test current_time/current_date/etc
-# group: [timestamp]
-
-statement ok
-SELECT CAST(CURRENT_TIME AS VARCHAR), CAST(CURRENT_DATE AS VARCHAR), 
CAST(CURRENT_TIMESTAMP AS VARCHAR), CAST({fn NOW()} AS VARCHAR)

Reply via email to