fetch hive records by keys