X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=mc-core%2Fmc%2Fqueries%2Faddreq_pdf.gsql;h=400d31389755bb9ddf26636e9c8637ca96bb7b0d;hb=0eb834e581b25c0ac0a657b1b7d8bb70fe4d2aa9;hp=a06d1376388458464b85da6066cd0391f8c8249f;hpb=9b604aeefe0126a54dccf312cb24c2649f221a4a;p=ric-app%2Fmc.git diff --git a/mc-core/mc/queries/addreq_pdf.gsql b/mc-core/mc/queries/addreq_pdf.gsql index a06d137..400d313 100644 --- a/mc-core/mc/queries/addreq_pdf.gsql +++ b/mc-core/mc/queries/addreq_pdf.gsql @@ -1,5 +1,6 @@ DEFINE{ query_name 'addreq_pdf_nr_cell'; max_lfta_disorder '1'; max_hfta_disorder '1'; + comment 'histogram of neighboring cell RSRP, aggregated by cell id'; } PARAM{ window uint;} // rsrp, rsrq, sinr ranges are 0 .. 127 @@ -14,12 +15,13 @@ select ($window*(tb+1))/1000 as TS, $window/1000.0 as measurementInterval, sum(GEQ(rsrp,68)*LEQ(rsrp,82)) as rsrp_good, sum(GEQ(rsrp,83)*LEQ(rsrp,127)) as rsrp_vgood from SGNB_ADDITION_REQ.sgnb_addreq_for_ue_mn_neigh_ssb -where schemaId = 410 +//where schemaId = 410 group by timestamp_ms/$window as tb, physCellId ; DEFINE{ query_name 'addreq_pdf_nr_gnb'; max_lfta_disorder '1'; max_hfta_disorder '1'; + comment 'histogram of neighboring cell RSRP, aggregated by GNB, as computed from addition request events.'; } PARAM{ window uint;} // rsrp, rsrq, sinr ranges are 0 .. 127 @@ -34,6 +36,6 @@ select ($window*(tb+1))/1000 as TS, $window/1000.0 as measurementInterval, sum(GEQ(rsrp,68)*LEQ(rsrp,82)) as rsrp_good, sum(GEQ(rsrp,83)*LEQ(rsrp,127)) as rsrp_vgood from SGNB_ADDITION_REQ.sgnb_addreq_for_ue_mn_neigh_ssb -where schemaId = 410 +//where schemaId = 410 group by timestamp_ms/$window as tb, gnb_id