asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Westmann <ti...@apache.org>
Subject Re: CURRENT_DATE and CURRENT_TIME functions disabled?
Date Thu, 20 Aug 2015 22:37:27 GMT
The last parameter of addFunction is called isFunctional. So I think that this means that these
functions are not actually functional in the sense that their result is not a consequence
of the arguments that are being passed (especially as they don’t get any arguments).

Cheers,
Till

> On Aug 20, 2015, at 3:16 PM, Heri Ramampiaro <heriram@gmail.com> wrote:
> 
> Anyone knows why these values in "asterix-om/src/main/java/edu/uci/ics/asterix/om/functions/AsterixBuiltinFunctions.java”
are false?
> 
> addFunction(CURRENT_DATE, ADateTypeComputer.INSTANCE, false);
> addFunction(CURRENT_TIME, ATimeTypeComputer.INSTANCE, false);
> 
> Thanks,
> -heri


Mime
View raw message