Commit 3be5052f authored by 王志伟's avatar 王志伟

彦钊更改esmmData

parent 40e29a95
......@@ -332,9 +332,7 @@ object EsmmPredData {
val native_data1 = sc.sql(
s"""
|select device_id,city_id as ucity_id,
|explode(native_queue) as cid_id
|from native_data
|select device_id,city_id as ucity_id,explode(split(native_queue,',')) as cid_id from native_data
""".stripMargin
).withColumn("label",lit(0))
native_data1.createOrReplaceTempView("native_data1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment