spark sql外部数据源

This commit is contained in:
罗祥
2019-05-24 15:42:36 +08:00
parent 9bbb86fdd2
commit d57c7927a8
13 changed files with 241 additions and 115 deletions

4
resources/csv/dept.csv Normal file
View File

@ -0,0 +1,4 @@
10,ACCOUNTING,NEW YORK
20,RESEARCH,DALLAS
30,SALES,CHICAGO
40,OPERATIONS,BOSTON
1 10 ACCOUNTING NEW YORK
2 20 RESEARCH DALLAS
3 30 SALES CHICAGO
4 40 OPERATIONS BOSTON