- 博客(5)
- 收藏
- 关注
原创 闪瞎你双眼的代码
import com.csvreader.CsvReader;import com.csvreader.CsvWriter;import java.util.HashMap;import java.util.Map;public class test1101 {static int num = 0;public static void main(String[] args) throw...
2019-11-04 23:03:23
717
原创 合并两表成为实体文件
import org.apache.spark.sql.SparkSessionobject Combanary {def main(args: Array[String]): Unit = {val session = SparkSession.builder().appName(“combanary”).master(“local”).getOrCreate()session.read...
2019-11-04 00:30:22
114
原创 创建关系文件
import org.apache.spark.sql.SparkSessionobject JoinLabel {def main(args: Array[String]): Unit = {val session = SparkSession.builder().master(“local[1]”).appName(“make_label”).getOrCreate()import s...
2019-11-04 00:29:34
135
原创 实体剥离标签加ID
import org.apache.spark.sql.SparkSessionimport org.apache.spark.sql.types.{LongType, StringType, StructField, StructType}object MakeLabel {def main(args: Array[String]): Unit = {val session = Spar...
2019-11-04 00:28:34
94
原创 Spark依赖
关于Spark依赖net.sourceforge.javacsvjavacsv2.0 junit junit 4.11 test org.apache.spark spark-core_2.11 ${spark.version} provided org.apache.spark spark-sq...
2019-11-04 00:27:05
397
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人