Maksim Zhuravkov created IGNITE-18804:
-----------------------------------------

             Summary: Sql. Tpc-H. ClassCastException in aggregate functions. 
Queries 1, 17, 20.
                 Key: IGNITE-18804
                 URL: https://issues.apache.org/jira/browse/IGNITE-18804
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Maksim Zhuravkov
             Fix For: 3.0.0-beta2


Queries 1, 17, 20 fail with similar errors caused by class cast exceptions in 
aggregate functions:

{code:java}
 // q20 class java.lang.Long cannot be cast to class java.math.BigDecimal 
(java.lang.Long and java.math.BigDecimal are in module java.base of loader 
'bootstrap')
    //  at 
org.apache.ignite.internal.sql.engine.exec.exp.agg.Accumulators$DecimalSumEmptyIsZero.add(Accumulators.java:588)

    // q17 Caused by: java.lang.ClassCastException: class java.lang.Long cannot 
be cast to class java.math.BigDecimal (java.lang.Long and java.math.BigDecimal 
are in module java.base of loader 'bootstrap')
    //  at 
org.apache.ignite.internal.sql.engine.exec.exp.agg.Accumulators$DecimalAvg.add(Accumulators.java:270)

    // q1 Caused by: java.lang.ClassCastException: class java.lang.Long cannot 
be cast to class java.math.BigDecimal (java.lang.Long and java.math.BigDecimal 
are in module java.base of loader 'bootstrap')
    //  at 
org.apache.ignite.internal.sql.engine.exec.exp.agg.Accumulators$DecimalSumEmptyIsZero.add(Accumulators.java:588)
{code}








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

Reply via email to