Weixiang Sun
12/20/2021, 7:14 PM"dateTimeFieldSpecs": [
{
"name": "timestamp",
"dataType": "LONG",
"defaultNullValue": 0,
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "timestamp_seconds",
"dataType": "LONG",
"defaultNullValue": 0,
"transformFunction": "toEpochSecondsRounded(timestamp, 1)",
"format": "1:SECONDS:EPOCH",
"granularity": "1:SECONDS"
}
]
I got the following error:
{
"code": 400,
"error": "Cannot add invalid schema: schema_name. Reason: Exception in getting arguments for transform function 'toEpochSecondsRounded(timestamp, 1)' for column 'timestamp_seconds'"
}
What is the wrong?Weixiang Sun
12/20/2021, 8:13 PMMark Needham
Mark Needham
"transformFunction": "toEpochSecondsRounded(\"timestamp\", 1)",Weixiang Sun
12/20/2021, 11:21 PM