clintropolis commented on PR #16132: URL: https://github.com/apache/druid/pull/16132#issuecomment-1999411318
json columns (kind of a lot, but also useful):
```json
[
{
"id":
"kttm_nested_auto_2019-08-25T00:00:00.000Z_2019-08-26T00:00:00.000Z_2024-03-08T05:27:09.872Z",
"intervals": null,
"columns": {
"__time": {
"typeSignature": "LONG",
"type": "LONG",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": null,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 1972590,
"components": {
"longValuesColumn": {
"description": "compressed longs column
compression:[lz4] values per block:[8192]",
"size": 1972590
}
}
},
"errorMessage": null
},
"session": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 3986213,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 904806
},
"stringValueDictionary": {
"description": "[generic v1] with [52282]
values",
"size": 888795
},
"bitmapValueIndexes": {
"description": "[generic v1] with [52282]
values",
"size": 2192612
}
}
},
"errorMessage": null
},
"number": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 1288893,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 414753
},
"stringValueDictionary": {
"description": "[generic v1] with [33] values",
"size": 328
},
"bitmapValueIndexes": {
"description": "[generic v1] with [33] values",
"size": 873812
}
}
},
"errorMessage": null
},
"event": {
"typeSignature": "COMPLEX<json>",
"type": "json",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": null,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 4724915,
"components": {
"fieldsList": {
"description": "[generic v1] with [7] values",
"size": 126
},
"data": {
"description": "compressed blob column
values:[465346]",
"size": 2842928
},
"stringValueDictionary": {
"description": "[generic v1] with [285] values",
"size": 28152
},
"longValueDictionary": {
"description": "[fixed indexed, width [8]] with
[25] values",
"size": 206
},
"doubleValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"arrayValueDictionary": {
"description": "[front-coded int array v0,
bucket size [4]] with [0] values",
"size": 5
},
"nestedColumns": {
"description": "nestedColumns",
"components": {
"$.error": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[1]",
"size": 2252
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [36] values",
"size": 150
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [36] values",
"size": 1435
}
}
},
"$.layer": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 183681
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [8] values",
"size": 38
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [8] values",
"size": 290143
}
}
},
"$.percentage": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 384667
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [21] values",
"size": 90
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [21] values",
"size": 648988
}
}
},
"$.saveNumber": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[1]",
"size": 2084
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [6] values",
"size": 30
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [6] values",
"size": 489
}
}
},
"$.type": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[1]",
"size": 139579
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [9] values",
"size": 42
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [9] values",
"size": 184433
}
}
},
"$.url": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 5014
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [231] values",
"size": 930
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [231] values",
"size": 7071
}
}
},
"$.userAgent": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[1]",
"size": 2029
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [6] values",
"size": 30
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [6] values",
"size": 317
}
}
}
}
}
}
},
"errorMessage": null
},
"agent": {
"typeSignature": "COMPLEX<json>",
"type": "json",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": null,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 6933224,
"components": {
"fieldsList": {
"description": "[generic v1] with [6] values",
"size": 114
},
"data": {
"description": "compressed blob column
values:[465346]",
"size": 3589134
},
"stringValueDictionary": {
"description": "[generic v1] with [358] values",
"size": 6709
},
"longValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"doubleValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"arrayValueDictionary": {
"description": "[front-coded int array v0,
bucket size [4]] with [0] values",
"size": 5
},
"nestedColumns": {
"description": "nestedColumns",
"components": {
"$.browser": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 234291
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [25] values",
"size": 106
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [25] values",
"size": 281057
}
}
},
"$.browser_version": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 408204
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [295] values",
"size": 1186
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [295] values",
"size": 592924
}
}
},
"$.category": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 162193
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [6] values",
"size": 30
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [6] values",
"size": 145925
}
}
},
"$.os": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 294527
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [30] values",
"size": 126
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [30] values",
"size": 385486
}
}
},
"$.platform": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 256165
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [8] values",
"size": 38
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [8] values",
"size": 300586
}
}
},
"$.type": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 152057
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [4] values",
"size": 22
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [4] values",
"size": 122327
}
}
}
}
}
}
},
"errorMessage": null
},
"client_ip": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 2807886,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 881953
},
"stringValueDictionary": {
"description": "[generic v1] with [21521]
values",
"size": 453370
},
"bitmapValueIndexes": {
"description": "[generic v1] with [21521]
values",
"size": 1472563
}
}
},
"errorMessage": null
},
"geo_ip": {
"typeSignature": "COMPLEX<json>",
"type": "json",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": null,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 9464997,
"components": {
"fieldsList": {
"description": "[generic v1] with [4] values",
"size": 76
},
"data": {
"description": "compressed blob column
values:[465346]",
"size": 4629588
},
"stringValueDictionary": {
"description": "[generic v1] with [7407] values",
"size": 131017
},
"longValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"doubleValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"arrayValueDictionary": {
"description": "[front-coded int array v0,
bucket size [4]] with [0] values",
"size": 5
},
"nestedColumns": {
"description": "nestedColumns",
"components": {
"$.city": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 850104
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [6292] values",
"size": 25174
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [6292] values",
"size": 1137925
}
}
},
"$.continent": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 165810
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [7] values",
"size": 34
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [7] values",
"size": 205525
}
}
},
"$.country": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 280541
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [136] values",
"size": 550
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [136] values",
"size": 422563
}
}
},
"$.region": {
"description": "nestedColumn",
"components": {
"encodedValueColumn": {
"description": "dictionary
encoded compressed[lz4] vsize[2]",
"size": 654111
},
"localValueDictionary": {
"description": "[fixed indexed,
width [4]] with [1253] values",
"size": 5018
},
"bitmapValueIndexes": {
"description": "[generic v1]
with [1253] values",
"size": 956944
}
}
}
}
}
}
},
"errorMessage": null
},
"language": {
"typeSignature": "ARRAY<STRING>",
"type": "ARRAY",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": null,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 1715016,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 427315
},
"stringValueDictionary": {
"description": "[generic v1] with [317] values",
"size": 3901
},
"longValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"doubleValueDictionary": {
"description": "[fixed indexed, width [8]] with
[0] values",
"size": 6
},
"arrayValueDictionary": {
"description": "[front-coded int array v0,
bucket size [4]] with [993] values",
"size": 13756
},
"bitmapValueIndexes": {
"description": "[generic v1] with [1310] values",
"size": 582112
},
"bitmapArrayElementIndexes": {
"description": "[generic v1] with [263] values",
"size": 687920
}
}
},
"errorMessage": null
},
"adblock_list": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 177851,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 57684
},
"stringValueDictionary": {
"description": "[generic v1] with [5] values",
"size": 110
},
"bitmapValueIndexes": {
"description": "[generic v1] with [5] values",
"size": 120057
}
}
},
"errorMessage": null
},
"app_version": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 2164,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 1990
},
"stringValueDictionary": {
"description": "[generic v1] with [2] values",
"size": 31
},
"bitmapValueIndexes": {
"description": "[generic v1] with [2] values",
"size": 143
}
}
},
"errorMessage": null
},
"path": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 848064,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 272509
},
"stringValueDictionary": {
"description": "[generic v1] with [1433] values",
"size": 233449
},
"bitmapValueIndexes": {
"description": "[generic v1] with [1433] values",
"size": 342106
}
}
},
"errorMessage": null
},
"loaded_image": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 989210,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 346277
},
"stringValueDictionary": {
"description": "[generic v1] with [25] values",
"size": 1213
},
"bitmapValueIndexes": {
"description": "[generic v1] with [25] values",
"size": 641720
}
}
},
"errorMessage": null
},
"referrer": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 869604,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 291826
},
"stringValueDictionary": {
"description": "[generic v1] with [1570] values",
"size": 238389
},
"bitmapValueIndexes": {
"description": "[generic v1] with [1570] values",
"size": 339389
}
}
},
"errorMessage": null
},
"referrer_host": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 513335,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 209113
},
"stringValueDictionary": {
"description": "[generic v1] with [161] values",
"size": 3841
},
"bitmapValueIndexes": {
"description": "[generic v1] with [161] values",
"size": 300381
}
}
},
"errorMessage": null
},
"server_ip": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 247593,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 120352
},
"stringValueDictionary": {
"description": "[generic v1] with [3] values",
"size": 57
},
"bitmapValueIndexes": {
"description": "[generic v1] with [3] values",
"size": 127184
}
}
},
"errorMessage": null
},
"screen": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 1177036,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 452611
},
"stringValueDictionary": {
"description": "[generic v1] with [363] values",
"size": 5729
},
"bitmapValueIndexes": {
"description": "[generic v1] with [363] values",
"size": 718696
}
}
},
"errorMessage": null
},
"window": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 2141489,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[2]",
"size": 737726
},
"stringValueDictionary": {
"description": "[generic v1] with [11240]
values",
"size": 172969
},
"bitmapValueIndexes": {
"description": "[generic v1] with [11240]
values",
"size": 1230794
}
}
},
"errorMessage": null
},
"session_length": {
"typeSignature": "LONG",
"type": "LONG",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": null,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 11197224,
"components": {
"longValuesColumn": {
"description": "compressed longs column
compression:[lz4] values per block:[8192]",
"size": 1804957
},
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[3]",
"size": 1382863
},
"longValueDictionary": {
"description": "[fixed indexed, width [8]] with
[180349] values",
"size": 1442790
},
"bitmapValueIndexes": {
"description": "[generic v1] with [180349]
values",
"size": 6566614
}
}
},
"errorMessage": null
},
"timezone": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 472522,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 176501
},
"stringValueDictionary": {
"description": "[generic v1] with [50] values",
"size": 596
},
"bitmapValueIndexes": {
"description": "[generic v1] with [50] values",
"size": 295425
}
}
},
"errorMessage": null
},
"timezone_offset": {
"typeSignature": "STRING",
"type": "STRING",
"hasMultipleValues": false,
"hasNulls": false,
"size": 0,
"cardinality": 0,
"minValue": null,
"maxValue": null,
"columnSize": {
"size": 723148,
"components": {
"encodedValueColumn": {
"description": "dictionary encoded
compressed[lz4] vsize[1]",
"size": 270411
},
"stringValueDictionary": {
"description": "[generic v1] with [31] values",
"size": 363
},
"bitmapValueIndexes": {
"description": "[generic v1] with [31] values",
"size": 452374
}
}
},
"errorMessage": null
}
},
"size": 0,
"numRows": 465346,
"aggregators": null,
"timestampSpec": null,
"queryGranularity": null,
"rollup": null
}
]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
