Slot & Tuple & Row & RowBatch的理解

2019-11-11  本文已影响0人  GOGOYAO

[TOC]

参考

impala wiki —— Impala Row Batches

1. 名词解释

2. 示意图

Here is an example memory layout for an (INT, STRING, BIGINT, STRING) row that is comprised of two tuples. The data is:

INT STRING BIGINT STRING
999 "hello" NULL NULL
NULL "hell" 12345 "world"
NULL "hell" 12345 "world"
NULL NULL NULL NULL

The memory layout purposefully uses many features to illustrate how data can be shared between rows and tuples. Most batches have simpler layouts.

image.png
上一篇 下一篇

猜你喜欢

热点阅读