xtern commented on code in PR #6274:
URL: https://github.com/apache/ignite-3/pull/6274#discussion_r2222661816


##########
modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItTemporalIndexTest.java:
##########
@@ -70,10 +70,10 @@ static void initTestData() {
                 .app("CREATE TABLE TIME1 (pk TIME, val TIME, PRIMARY KEY USING 
SORTED (pk));").nl()
                 .app("CREATE TABLE TIME2 (pk TIME, val TIME, PRIMARY KEY USING 
HASH (pk));").nl()
                 .app("CREATE TABLE TIMESTAMP1 (pk TIMESTAMP, val TIMESTAMP, 
PRIMARY KEY USING SORTED (pk));").nl()
-                .app("CREATE TABLE TIMESTAMP2 (pk TIMESTAMP, val TIMESTAMP, 
PRIMARY KEY USING HASH (pk));").nl()
+                .app("CREATE TABLE TIMESTAMP2 (pk TIMESTAMP(0), val TIMESTAMP, 
PRIMARY KEY USING HASH (pk));").nl()

Review Comment:
   To check the issue with indexes and TIMESTAMP dynamic parameter.
   When the column precision is lower than the dynamic parameter precision, 
indexes are not used now. This issue is fixed in this patch (see change in 
RexUtils).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to