diff --git a/eda/feededa/src/main/scala/com/gmei/EsmmData.scala b/eda/feededa/src/main/scala/com/gmei/EsmmData.scala index 41f23b3a76c9997bbb06fa0159a600bc8dccb99e..0a9da8d7ad8d1997fa3518b9301c4799f89be60c 100644 --- a/eda/feededa/src/main/scala/com/gmei/EsmmData.scala +++ b/eda/feededa/src/main/scala/com/gmei/EsmmData.scala @@ -421,10 +421,10 @@ object EsmmPredData { val union_data_scity_id2 = sc.sql( s""" - |select device_id,cid_id,first(stat_date) stat_date,first(ucity_id) ucity_id,first(label) label,first(diary_service_id)diary_service_id,first(y) y, + |select device_id,cid_id,first(stat_date) stat_date,first(ucity_id) ucity_id,label,first(diary_service_id)diary_service_id,first(y) y, |first(z) z,first(clevel1_id) clevel1_id,first(slevel1_id) slevel1_id,first(ccity_name) ccity_name,first(scity_id) scity_id |from union_data_scity_id - |group by device_id,cid_id + |group by device_id,cid_id,label """.stripMargin )