You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2023/02/24 09:59:00 UTC
[jira] [Resolved] (IGNITE-18805) Sql. TPC-H. ClassCastExceptions in predicate expressions
[ https://issues.apache.org/jira/browse/IGNITE-18805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yury Gerzhedovich resolved IGNITE-18805.
----------------------------------------
Resolution: Invalid
Fixed earlier
> 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
> Assignee: Yury Gerzhedovich
> Priority: Minor
> Labels: calcite2-required, calcite3-required, ignite-3
> 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)