SparkSQL通过Mysql创建DataFrame
一、数据源 CREATE TABLE student( id int not null primary key, name varchar(20), age int(20), city varchar(20), score double(20,2) )ENGINE=InnoDB DEFAULT CHARSET=utf8; insert into student(id,name,age,city,score) values(1,'张飞',21,'北京',80.0); insert into student(id,name,age,city,score) values(2,
下载地址
用户评论