Today, ::datetime is supported in inline cast, for example
row x="2024-11-13" | eval y = x::datetime
x | y
---------------+------------------------
2024-11-13 |2024-11-13T00:00:00.000Z
::date is not supported yet
row x="2024-11-13" | eval y = x::date
{
"error" : {
"root_cause" : [
{
"type" : "parsing_exception",
"reason" : "line 1:35: Unknown data type named [date]"
}
],
"type" : "parsing_exception",
"reason" : "line 1:35: Unknown data type named [date]"
},
"status" : 400
}
Today,
::datetimeis supported in inline cast, for example::dateis not supported yet