Slackbot
05/31/2023, 6:29 AMSergio Ferragut
06/01/2023, 1:44 AMYang Dark
06/01/2023, 4:22 AMYang Dark
06/01/2023, 4:24 AMSergio Ferragut
06/01/2023, 5:24 PMYang Dark
06/02/2023, 4:58 AM{
"queryType": "groupBy",
"dataSource": {
"type": "table",
"name": "table_name"
},
"intervals": {
"type": "intervals",
"intervals": [
"2023-06-01T00:00:00.000Z/2023-06-01T00:00:00.001Z"
]
},
"virtualColumns": [],
"filter": {
"type": "and",
"fields": [
{
"type": "selector",
"dimension": "action_day",
"value": "2023-06-01",
"extractionFn": null
},
{
"type": "selector",
"dimension": "adx_name",
"value": "xxx",
"extractionFn": null
},
{
"type": "or",
"fields": [
{
"type": "bound",
"dimension": "impression",
"lower": "0",
"upper": null,
"lowerStrict": true,
"upperStrict": false,
"extractionFn": null,
"ordering": {
"type": "numeric"
}
},
{
"type": "bound",
"dimension": "bid",
"lower": "0",
"upper": null,
"lowerStrict": true,
"upperStrict": false,
"extractionFn": null,
"ordering": {
"type": "numeric"
}
}
]
}
]
},
"granularity": {
"type": "all"
},
"dimensions": [
{
"type": "default",
"dimension": "action_hour",
"outputName": "d0",
"outputType": "LONG"
},
{
"type": "default",
"dimension": "action_day",
"outputName": "d1",
"outputType": "STRING"
}
],
"aggregations": [
{
"type": "longSum",
"name": "a0",
"fieldName": "impression",
"expression": null
},
{
"type": "longSum",
"name": "a1",
"fieldName": "bid",
"expression": null
}
],
"postAggregations": [
{
"type": "expression",
"name": "p0",
"expression": "(\"a0\" * 1)",
"ordering": null
},
{
"type": "expression",
"name": "p1",
"expression": "(\"a1\" * 1)",
"ordering": null
}
],
"having": null,
"limitSpec": {
"type": "default",
"columns": [
{
"dimension": "d1",
"direction": "ascending",
"dimensionOrder": {
"type": "lexicographic"
}
}
],
"limit": 100
},
"context": {
"sqlOuterLimit": 100,
"sqlQueryId": "c48b6789-4ce7-4157-a2f2-f79e0a2bdfde"
},
"descending": false
}
Yang Dark
06/02/2023, 5:11 AMSegmentGranularity ‘is’ day’
Sergio Ferragut
06/02/2023, 4:43 PMYang Dark
06/07/2023, 1:49 AMYang Dark
06/07/2023, 1:53 AMSergio Ferragut
06/07/2023, 2:26 AMYang Dark
06/07/2023, 3:03 AMSergio Ferragut
06/07/2023, 2:24 PMYang Dark
06/08/2023, 2:12 AMRemove the limit
Remove the order by
The segment distribution is like this
Regarding segment, I have noticed a phenomenon where all the other days were the same segment. Yesterday’s data is always five, and only yesterday’s data can cause this problem. Does it seem like a coincidence?
Meanwhile, how can I set it to merge to verify that merging can avoid this problem?