Using the new Expression node in 5.3 (which is looking very promising) is it the intention that it treats Long and Integer datatypes the same?
I noted that when presented with both Integer and Long column data, it sees both of them as “Integer”, buy it actually treats them as “Long”, and from what I can see can only output “Long” for integer data:
I haven’t yet found a “toInt” converter built into that node, so currently with respect to integer data:
- Expression can only output Long (64 bit) integers
- Math Formula can only output Integer (32 bit) integers
Is that how it is intended to be, or is this just a transient situation with this first release of the Expression node?
Should we read into this, for example, that the expectation for future-KNIME is that 32 bit integer data is destined to be phased out?
Or alternatively, have I just missed something with the new node? ![]()
I can understand that there may be technical reasons why the preference was to use Long internally (to avoid loss of precision), but perhaps it would still make sense to allow the user to specify the output datatype that they require and perform a conversion if necessary.
The idea that simply adding 1 to an Integer always generates a Long feels wrong to me.





