[Mondrian] NULL literal

Richard Emberson remberson at edgedynamics.com
Tue Feb 27 14:59:30 EST 2007


Out on the web I find examples of the use of the NULL
literal in numeric expressions and when a NULL occurs,
the expression it self is NULL, e.g,.

NULL/NULL == NULL.

In the mondrian code, A Literal is compiled into a
ConstantCalc, The integer and double values of
a 'null' Object constructor parameter are
0 for both integer and double rather than
the DoubleNull object (calling evaluateDouble()
yields 0.0 rather than DoubleNull).

Is this a bug?


Richard
-- 
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.



More information about the Mondrian mailing list