calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesus Camacho Rodriguez <>
Subject Lossless cast
Date Mon, 24 Apr 2017 19:32:33 GMT
Hi all,

Are you aware of any utility methods in Calcite core to identify 'lossless' casts, i.e., casts
from which the original value of the field can be certainly recovered?

For instance, int -> bigint is true (as you can cast back to int without loss of information),
however bigint -> int is false.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message