I presume you’re talking about RexNodes. It makes a lot of things easier if the 
argument to function call are EXACTLY the type required by that function. The 
system inserts implicit casts where necessary.

If you’re generating Java code (in Enumerable convention) there is a lot of 
difference between INTEGER NOT NULL and INTEGER. The former can be represented 
by int, the latter only by java.lang.Integer. 

Julian


> On Aug 23, 2017, at 2:08 AM, Christian Beikov <[email protected]> 
> wrote:
> 
> Hello,
> 
> I came to notice that the use of a nullable column in a context where a 
> non-nullable is expected, causes a cast that is essentially useless. Am I 
> missing something and is there reason to why that is done?
> 
> -- 
> 
> Mit freundlichen Grüßen,
> ------------------------------------------------------------------------
> *Christian Beikov*

Reply via email to