Hello,

Please provide the query you are using. Such a stack can't be caused
by just "select * from table" (at least sorting is used). Perhaps you
are using "ORDER BY" for fields which can't be compared in SQL
(complex _key or _val for example).
вт, 13 авг. 2024 г. в 17:17, Amit Jolly <amit.jo...@gmail.com>:
>
> Hi,
>
> We are trying to switch to H2 due to Security Vulnerabilities as listed in 
> JIRA https://issues.apache.org/jira/browse/IGNITE-15241
>
> We are seeing below errors post switching. We are just running select * From 
> table query.
>
> Caused by: java.lang.ClassCastException: class 
> org.apache.ignite.internal.binary.BinaryObjectImpl cannot be cast to class 
> java.lang.Comparable (org.apache.ignite.internal.binary.BinaryObjectImpl is 
> in unnamed module of loader 'app'; java.lang.Comparable is in module 
> java.base of loader 'bootstrap')
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.exp.ExpressionFactoryImpl.compare(ExpressionFactoryImpl.java:223)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.exp.ExpressionFactoryImpl.access$100(ExpressionFactoryImpl.java:85)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.exp.ExpressionFactoryImpl$1.compare(ExpressionFactoryImpl.java:157)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> java.base/java.util.Map$Entry.lambda$comparingByKey$6d558cbf$1(Map.java:560) 
> ~[?:?]
> at 
> java.base/java.util.PriorityQueue.siftUpUsingComparator(PriorityQueue.java:660)
>  ~[?:?]
> at java.base/java.util.PriorityQueue.siftUp(PriorityQueue.java:637) ~[?:?]
> at java.base/java.util.PriorityQueue.offer(PriorityQueue.java:330) ~[?:?]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.rel.Inbox.pushOrdered(Inbox.java:239)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.rel.Inbox.push(Inbox.java:201)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.rel.Inbox.onBatchReceived(Inbox.java:177)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.ExchangeServiceImpl.onMessage(ExchangeServiceImpl.java:324)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.ExchangeServiceImpl.lambda$init$2(ExchangeServiceImpl.java:195)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.message.MessageServiceImpl.onMessageInternal(MessageServiceImpl.java:276)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.message.MessageServiceImpl.lambda$onMessage$0(MessageServiceImpl.java:254)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
> at 
> org.apache.ignite.internal.processors.query.calcite.exec.QueryTaskExecutorImpl.lambda$execute$0(QueryTaskExecutorImpl.java:66)
>  ~[ignite-calcite-2.16.0.jar:2.16.0]
>
> Any idea what might be causing this?
>
> Regards,
>
> Amit Jolly

Reply via email to