摘要:
package com.ustcinfo.SDK import java.sql.{Connection, PreparedStatement} import org.apache.hadoop.io.{LongWritable, Text} import org.apache.hadoop.map 阅读全文
摘要:
一、调用hadoopfile方法读取TXT文件,针对复杂的分割方式,例如|+|,;等 val gbkPath = s"/bdtj/line/DD_OUT_NOW_LV_$month.txt"//文件路径//将gbkPath以参数的形式传入进行读取 val Company2_temp = spark. 阅读全文