May 11 2018
10:56 AM
- last edited on
Apr 07 2022
04:59 PM
by
TechCommunityAP
May 11 2018
10:56 AM
- last edited on
Apr 07 2022
04:59 PM
by
TechCommunityAP
This works as expected:
datatable (TimeGenerated:datetime, Success:bool) [ datetime("2018-05-11T17:50:01.665"), true ]
But this fails because the array does not allow scalar functions to be called?
datatable (TimeGenerated:datetime, Success:bool) [ now(), true ]
According to this documentation, datetime() and now() are both "datetime literals"
Could we add support for this?
May 14 2018 07:07 AM
This seems like a bug. I've report it to the language team and awaiting their answer.
May 21 2018 12:59 AM
Hi Patrick,
It appears datatable expects only constant scalar values, whereas now() is an expression.
So that explains it..
I've mentioned support for it is requested.
HTH,
Noa