calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Chauhan <>
Subject type coercion
Date Tue, 16 Sep 2014 22:14:35 GMT
SqlTypeFactoryImpl::leastRestrictive() calls leastRestrictiveByCast() which
calls sqlTypeUtil.canCastFrom(type, resultType, false). Last boolean
argument is about type coercion. Since, its called from SqlTypeFactoryImpl,
I expected coercion should have been allowed here and canCastFrom() should
have been called with true, atleast thats what comment of canCastFrom()
method seems to suggest. Is this a bug or am I missing something here?


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