Primary keys and indexes in Hive query language is poosible or not?
问题 We are trying to migrate oracle tables to hive and process them. Currently the tables in oracle has primary key,foreign key and unique key constraints. Can we replicate the samein hiveql? We are doing some analysis on how to implement it. 回答1: Hive indexing was introduced in Hive 0.7.0 (HIVE-417) and removed in Hive 3.0 (HIVE-18448) Please read comments in this Jira. The feature was completely useless in Hive. These indexes was too expensive for big data, RIP. As of Hive 2.1.0 (HIVE-13290)