Difference between partition and index in hive
问题 I am new in hadoop and hive and I would know what is the difference between index and partition in hive? When I use index and when partition? Thank you! 回答1: Indexes are new and evolving (features are being added) but currently Indexes are limited to single tables and cannot be used with external tables. Creating an index creates a separate table. Indexes can be partitioned (matching the partitions of the base table). Indexes are used to speed the search of data within tables. Partitions