摘要:
MapReduce由两个阶段组成:Map和Reduce,用户只需要编写map()和reduce()两个函数,即可完成简单的分布式程序的设计。 map()函数以key/value对作为输入,产生另外一系列key/value对作为中间输出写入本地磁盘。MapReduce框架会自动将这些中间数据按照key 阅读全文
posted @ 2020-10-10 20:16
飞舞的小蛇
阅读(686)
评论(0)
推荐(0)
摘要:
1、简单替换(object-like 宏) #define N 42 N // -> 42 2、带参数的宏( function-like宏) #define ADD(x, y) x + y ADD(1, 2) // -> 1 + 2 标准定义格式如下 // obj-like #define 宏名 替 阅读全文
posted @ 2020-10-10 16:12
飞舞的小蛇
阅读(454)
评论(0)
推荐(0)
摘要:
第1章 ClickHouse的前世今生 开篇提到了Google开启大数据处理时代的三篇论文“Google File System”、“Google MapReduce”和“Google Bigtable”,号称三驾马车。后来一度Hadoop成为大数据处理的代名词,只要谈到大数据处理,没有用到Hado 阅读全文
posted @ 2020-10-10 16:11
飞舞的小蛇
阅读(2529)
评论(0)
推荐(0)
摘要:
/** Processor is an element (low level building block) of a query execution pipeline. * It has zero or more input ports and zero or more output ports. 阅读全文
posted @ 2020-10-10 16:10
飞舞的小蛇
阅读(930)
评论(0)
推荐(0)
摘要:
/** A dynamic array for POD types.POD类型的动态数组 * Designed for a small number of large arrays (rather than a lot of small ones).设计用于一些少量的大数组,而不是大量的小数组 * 阅读全文
posted @ 2020-10-10 16:09
飞舞的小蛇
阅读(626)
评论(0)
推荐(0)