1SELECT MR_Longitude,MR_Latitude,b,MAX(a)FROM 2( 3select a,b, 4 MR_Longitude*360*1.0/16777216 MR_Longitude, 5 MR_Latitude*90/8388608 MR_Latitude 6FROM etl_4g_mro_zte 7 lateralview explode( 8 split(concat_ws(',',MR_LteScRSRP,MR_LteNcRSRP1,MR_LteNcRSRP2,MR_LteNcRSRP3,MR_LteNcRSRP4,MR_LteNcRSRP5),','))r1AS a-----没有',' 9 lateralview explode( 10 split(concat_ws(',',MR_LteScEarfcn,MR_LteNcEarfcn1,MR_LteNcEarfcn2,MR_LteNcEarfcn3,MR_LteNcEarfcn4,MR_LteNcEarfcn5),',')) f1as b 1112WHERE MR_LongitudeISNOTNULL13AND MR_Longitude