|
@@ -363,10 +363,14 @@ object makedata_ad_33_bucketDataPrint_20240718 {
|
|
|
|
|
|
val scoremap: JSONObject = if (record.isNull("scoremap")) new JSONObject() else
|
|
|
JSON.parseObject(record.getString("scoremap"))
|
|
|
+ val extend: JSONObject = if (record.isNull("extend")) new JSONObject() else
|
|
|
+ JSON.parseObject(record.getString("extend"))
|
|
|
+
|
|
|
|
|
|
val apptype = record.getString("apptype")
|
|
|
val label = record.getString("ad_is_conversion")
|
|
|
- (apptype, "pagesource", "level", label, "abcode", allfeaturemap, featureMap, flag, scoremap)
|
|
|
+ val abcode = extend.getString("abcode")
|
|
|
+ (apptype, "pagesource", "level", label, abcode, allfeaturemap, featureMap, flag, scoremap)
|
|
|
}).filter {
|
|
|
case (apptype, pagesource, level, label, abcode, allfeaturemap, featureMap, flag, scoremap) =>
|
|
|
appTypeSet.contains(apptype) && abCodeSet.contains(abcode) && scoremap.containsKey("ctcvrScore")
|