Update Hive视图和索引.md

This commit is contained in:
heibaiying 2019-04-27 19:00:28 +08:00 committed by GitHub
parent 55269225cd
commit 7609eca90b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ alter index emp_index on emp rebuild;
Hive会启动MapReduce作业去建立索引建立好后查看索引表数据如下。三个表字段分别代表索引列的值、该值对应的HDFS文件路径、该值在文件中的偏移量。 Hive会启动MapReduce作业去建立索引建立好后查看索引表数据如下。三个表字段分别代表索引列的值、该值对应的HDFS文件路径、该值在文件中的偏移量。
<div align="center"> <img width="600px" src="https://github.com/heibaiying/BigData-Notes/blob/master/pictures/hive-index-table.png"/> </div> <div align="center"> <img width="700px" src="https://github.com/heibaiying/BigData-Notes/blob/master/pictures/hive-index-table.png"/> </div>
### 3.3 自动使用索引 ### 3.3 自动使用索引