Vedran KrtaliÄ
12/15/2021, 12:10 PM"ingestionConfig": {
"transformConfigs": [
{
"columnName": "id",
"transformFunction": "JSONPATHSTRING(transaction, '$.id', 'null')"
},
.
.
.,
{
"columnName": "ts",
"transformFunction": "JSONPATHLONG(transaction, '$.ts.date', 0)"
}{
"columnName": "daysTs",
"transformFunction": "toEpochDays(ts)"
},
{
"columnName": "hoursTs",
"transformFunction": "toEpochHours(ts)"
}
Derived columns are in schema (bottom two):
"dateTimeFieldSpecs": [
{
"name": "ts",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "cat",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "agn_o",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "_sourceTimestamp",
"dataType": "LONG",
"format": "1:MILLISECONDS:EPOCH",
"granularity": "1:MILLISECONDS"
},
{
"name": "daysTs",
"dataType": "LONG",
"format": "1:DAYS:EPOCH",
"granularity": "1:DAYS"
},
{
"name": "hoursTs",
"dataType": "LONG",
"format": "1:HOURS:EPOCH",
"granularity": "1:HOURS"
}
hoursTs is aggreate dimension in startree index as follows:
"starTreeIndexConfigs": [
{
"dimensionsSplitOrder": [
"hoursTs",
"c",
"ty",
"cu",
"dp",
"ag"
],
"skipStarNodeCreationForDimensions": [],
"functionColumnPairs": [
"SUM__a",
"COUNT__id",
"SUM__ra",
"SUM__rp",
"COUNT__*"
],
"maxLeafRecords": 10000
}
]
daysTs is blomm filter index as follows:
"bloomFilterColumns": [
"id",
"daysTs"
]
Are we missing something?Mark Needham
ts column working as expected?Vedran KrtaliÄ
12/15/2021, 1:23 PMMark Needham
Vedran KrtaliÄ
12/15/2021, 1:31 PMMark Needham
when offloading to offline table via RealtimeToOfflineSegmentsTaskas in you start with there being correct values in the real-time table and then the values become incorrect once they're in the offline table?
Vedran KrtaliÄ
12/15/2021, 1:35 PMMark Needham
Vedran KrtaliÄ
12/16/2021, 5:43 PMMayank
Vedran KrtaliÄ
12/18/2021, 3:18 PM