码迷,mamicode.com
首页 > 数据库 > 详细

sparksql(review part...)

时间:2017-09-27 10:16:24      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:defining   action   row   ace   ever   spark   park   modify   schema   

  • relational database

every relation has a schema defining fields in columns

a set of relations

relation: a table with rows and columns

schema: name of relation+column name and type

Students(sid:String, name:String)

instance: actual data

结构僵化-结构well,indices占disk space-便于high performance,transaction慢-数据一致性,sparse data效果差

  • transactions used to modify data
  • sparse data
  • SQL

多种join ,处理unmatched keys。inner,left outer,right outer,fullouter

Spark joins都支持。

  • data quality

missing , entity resolution, unit mismatch...
https://www.youtube.com/watch?v=Lzhb8xm0fuk&index=7&list=PLy8rR4qeciOfumPMgluuLYVN9TopVGhJw

 

sparksql(review part...)

标签:defining   action   row   ace   ever   spark   park   modify   schema   

原文地址:http://www.cnblogs.com/yumanman/p/7599753.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!