feat(search): add search annotations for profile aspect (#8282)

This commit is contained in:
Aseem Bansal 2023-06-23 17:55:05 +05:30 committed by GitHub
parent 6ebef9a0de
commit 78ae6e3d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,8 @@ record DatasetProfile includes TimeseriesAspectBase {
* The total number of rows
*/
@Searchable = {
"fieldType": "COUNT"
"fieldType": "COUNT",
"hasValuesFieldName": "hasRowCount"
}
rowCount: optional long
@ -22,7 +23,8 @@ record DatasetProfile includes TimeseriesAspectBase {
* The total number of columns (or schema fields)
*/
@Searchable = {
"fieldType": "COUNT"
"fieldType": "COUNT",
"hasValuesFieldName": "hasColumnCount"
}
columnCount: optional long
@ -35,7 +37,8 @@ record DatasetProfile includes TimeseriesAspectBase {
* Storage size in bytes
*/
@Searchable = {
"fieldType": "COUNT"
"fieldType": "COUNT",
"hasValuesFieldName": "hasSizeInBytes"
}
sizeInBytes: optional long
}