|
@@ -151,17 +151,14 @@ object makedata_02_writeredis {
|
|
}
|
|
}
|
|
if (i_title_len.nonEmpty){
|
|
if (i_title_len.nonEmpty){
|
|
val d = reqContext.bucketRatioFeature(i_title_len.toDouble)
|
|
val d = reqContext.bucketRatioFeature(i_title_len.toDouble)
|
|
- reqContext.featureMap.put("i_title_len", d.asInstanceOf[Object])
|
|
|
|
|
|
+ reqContext.featureMap.put("i_title_len", d.toString)
|
|
}
|
|
}
|
|
if (i_days_since_upload.nonEmpty) {
|
|
if (i_days_since_upload.nonEmpty) {
|
|
val d = reqContext.bucketRatioFeature(i_days_since_upload.toDouble)
|
|
val d = reqContext.bucketRatioFeature(i_days_since_upload.toDouble)
|
|
- reqContext.featureMap.put("i_days_since_upload", d.asInstanceOf[Object])
|
|
|
|
|
|
+ reqContext.featureMap.put("i_days_since_upload", d.toString)
|
|
}
|
|
}
|
|
//------修复完成---------
|
|
//------修复完成---------
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
reqContext.putItemFeature(record)
|
|
reqContext.putItemFeature(record)
|
|
reqContext.featureMap.put("videoid", videoid)
|
|
reqContext.featureMap.put("videoid", videoid)
|
|
|
|
|