首先查看一个sql 1.首先存在一个数据表tmp CREATE TABLE tmp( platform string, channel string, chan_value string, uid string, host int, logtime string, bd_source string, action string, refer string, back_url string, browser string, mobile string, server_ip string, ip s…