The Deephaven Query Language should support NumPy types.
Consider this example:
from deephaven.TableTools import emptyTable
import numpy
x = 60000000000
y = numpy.int64(x)
t1 = emptyTable(10).update("A = y")
t2 = emptyTable(10).update("B = (long)y")
There are two problems:
1) Column A in t1 is of type org.jpy.PyObject instead of long.
2) The cast in t2 fails because org.jpy.PyObject can not be cast to a java.lang.Long.
The Deephaven Query Language should support NumPy types.
Consider this example:
There are two problems: 1) Column
A
int1
is of typeorg.jpy.PyObject
instead oflong
. 2) The cast int2
fails becauseorg.jpy.PyObject
can not be cast to ajava.lang.Long
.