Description
When creating indexes for a table with a very large number of partitions, Hive pulls all the metadata definition from that table before starting starting the index generation. Even some of the side effects of this problem can be addressed (OOMEs, timeouts) it would be really helpful to create the indexes in batches (similar to HIVE-2050).