Commit 550244a8 authored by 张彦钊's avatar 张彦钊

change test file

parent 8c7abb46
......@@ -94,7 +94,8 @@ def write_redis(device_id,cid_list):
def model(rdd):
try:
rdd.filter(lambda x: maidian(x)).map(lambda x:get_data(x))
rdd.filter(lambda x: maidian(x))
# .map(lambda x:get_data(x))
# .na.drop().groupByKey())\
# .map(lambda x:write_redis(x[0],x[1]))
except Exception as e:
......
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