You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried simpler tables, with just a string and it dod not generate the experience / error below.
Here is the one that did (repeatedly).
With this script, sorting in the table UI on anything other than the two strings (USym & Exchange) is fine. If I sort on either of those columns, I get the error cited below.
Sheduler-Concurrent-2 | i.d.g.s.SessionState | Internal Error '45d932bf-e3db-4259-81f2-b58994417ccc' io.deephaven.base.verify.RequirementFailure: Requirement failed: required Comparable.class.isAssignableFrom(sortColumns[ii].getType()) || sortColumns[ii].getType().isPrimitive(), instead sortColumnNames[ii] == "Exchange", sortColumns[ii].getType() == class io.deephaven.db.tables.remote.preview.DisplayWrapper.
at io.deephaven.base.verify.Require.fail(Require.java:108)
at io.deephaven.base.verify.Require.requirement(Require.java:169)
at io.deephaven.base.verify.Require.requirement(Require.java:175)
at io.deephaven.db.v2.SortOperation.<init>(SortOperation.java:55)
at io.deephaven.db.v2.QueryTable.sort(QueryTable.java:2229)
at io.deephaven.grpc_api.table.ops.SortTableGrpcImpl.create(SortTableGrpcImpl.java:97)
at io.deephaven.grpc_api.table.ops.SortTableGrpcImpl.create(SortTableGrpcImpl.java:20)
at io.deephaven.grpc_api.table.TableServiceGrpcImpl$BatchExportBuilder.doExport(TableServiceGrpcImpl.java:450)
at io.deephaven.grpc_api.table.TableServiceGrpcImpl.lambda$null$6(TableServiceGrpcImpl.java:319)
at io.deephaven.grpc_api.session.SessionState$ExportObject.doExport(SessionState.java:824)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at io.deephaven.grpc_api.runner.DeephavenApiServerModule$ThreadFactory.lambda$newThread$0(DeephavenApiServerModule.java:147)
at java.lang.Thread.run(Thread.java:748)
The text was updated successfully, but these errors were encountered:
The larger issue here is that the column is of type PyObject, which gets transformed into DisplayWrapper. Sort does not like either of these types. However, it does work if you explicitly cast the symbol to a String.
I tried simpler tables, with just a string and it dod not generate the experience / error below.
Here is the one that did (repeatedly).
With this script, sorting in the table UI on anything other than the two strings (USym & Exchange) is fine. If I sort on either of those columns, I get the error cited below.
The query:
Here is the error:
The text was updated successfully, but these errors were encountered: