HIVE-2096:throw a error if the input is larger than a threshold for index input format (Wojciech Galuba via He Yongqiang)