摘要:
1.向JDBC读数据 object SparkSQL02_Datasource { def main(args: Array[String]): Unit = { //创建上下文环境配置对象 val conf: SparkConf = new SparkConf().setMaster("local 阅读全文
摘要:
数据源test.json {"username": "zhangsan","age": 20} {"username": "lisi","age": 18} {"username": "wangwu","age": 16} 强类型及弱类型 DateFrame是弱类型,意思是数据只有二维结构,没有数据 阅读全文