Larry Meadors
11/03/2022, 12:53 PM{
"schemaName": "ecommerce_customer",
"dimensionFieldSpecs": [
{
"name": "NAME",
"dataType": "STRING"
},
{
"name": "SAPID",
"dataType": "STRING"
},
{
"name": "COUNTRYID",
"dataType": "LONG"
},
{
"name": "ENABLED",
"dataType": "BOOLEAN"
}
]
}
creating a table for this causes this error:
{
"_code": 400,
"_error": "Cannot find valid fieldSpec for timeColumn: rowtime from the table config: ecommerce_customer_REALTIME, in the schema: ecommerce_customer"
}
which kinda makes sense, i think - i just don't know how to define that time column (yet) - any tips?Larry Meadors
11/03/2022, 1:05 PM"dateTimeFieldSpecs": [
{
"name": "rowtime",
"dataType": "TIMESTAMP",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
}
]
that didn't work - i get a pile of NPEs reading the data because i'm getting back
{
"fieldToValueMap": {
"rowtime": null,
"COUNTRYID": 26,
"ENABLED": 0,
"SAPID": "100000",
"NAME": "your name here"
},
"nullValueFields": [
"ENABLED"
]
}
Larry Meadors
11/03/2022, 1:09 PM"ROWTIME"
to see if it was just a case issue...nope 😕Larry Meadors
11/03/2022, 1:40 PMKishore G
Larry Meadors
11/03/2022, 2:22 PMLarry Meadors
11/03/2022, 2:22 PMKishore G
Mark Needham
11/07/2022, 12:59 PM"transformConfigs":[
{"columnName":"rowtime", "transformFunction":"now()"}
]