I have a datetime value from sql server and I’m using the fromMillis() function. It’s throwing an error saying the value passed into the function is not a long type. I do a return type(value) transform on binding and it says PyLong is the type.
A PyLong is really a java BigInteger type, under the hood. Some (usually older) JDBC drivers don’t map this correctly. See if there is a newer JDBC driver available for your database.