Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18805

Sql. TPC-H. ClassCastExceptions in predicate expressions

    XMLWordPrintableJSON

Details

    • Docs Required, Release Notes Required

    Description

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

      // 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')
      

      Attachments

        Issue Links

          Activity

            People

              jooger Iurii Gerzhedovich
              mzhuravkov Maksim Zhuravkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: