[ https://issues.apache.org/jira/browse/IGNITE-18804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maksim Zhuravkov updated IGNITE-18804: -------------------------------------- Summary: Sql. TPC-H. ClassCastException in aggregate functions. (was: Sql. Tpc-H. ClassCastException in aggregate functions.) > Sql. TPC-H. ClassCastException in aggregate functions. > ------------------------------------------------------ > > Key: IGNITE-18804 > URL: https://issues.apache.org/jira/browse/IGNITE-18804 > Project: Ignite > Issue Type: Bug > Components: sql > Reporter: Maksim Zhuravkov > Priority: Minor > Labels: calcite2-required, calcite3-required, ignite-3 > Fix For: 3.0.0-beta2 > > > TPC-H queries 1, 17, 20 fail with similar errors caused by class cast > exceptions in aggregate functions: > {code:java} > // 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) > // 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) > // 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) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)