Maksim Zhuravkov created IGNITE-18805:
-----------------------------------------

             Summary: Sql. Tpc-H. ClassCastExceptions in predicate expressions
                 Key: IGNITE-18805
                 URL: https://issues.apache.org/jira/browse/IGNITE-18805
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Maksim Zhuravkov
             Fix For: 3.0.0-beta2


TPC-H queries 4, 16, 19, 21 fail with similar errors caused by class cast 
exceptions in generaned predicate  expressions:

{code:java}
// Error
// 
org.apache.ignite.internal.sql.engine.exec.exp.ExpressionFactoryImpl$PredicateImpl.test(ExpressionFactoryImpl.java:610)

    // q16: Caused by: java.lang.ClassCastException: class java.lang.String 
cannot be cast to class java.lang.Boolean (java.lang.String and 
java.lang.Boolean are in module java.base of loader 'bootstrap')

    // q21 q4 Caused by: java.lang.ClassCastException: class 
java.time.LocalDateTime cannot be cast to class java.lang.Long 
(java.time.LocalDateTime and java.lang.Long are in module java.base of loader 
'bootstrap')

    // q19: Caused by: java.lang.ClassCastException: class java.math.BigDecimal 
cannot be cast to class java.lang.Long (java.math.BigDecimal and java.lang.Long 
are in module java.base of loader 'bootstrap')
{code}





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to