Re: Bucketed table info

2016-11-30 Thread Gopal Vijayaraghavan
> If I have an orc table bucketed and sorted on a column, where does hive keep > the mapping from column value to bucket? Specifically, if I know the column > value, and need to find the specific hdfs file, is there an api to do this? The closest to an API is ObjectInspectorUtils.getBucketNumbe

Bucketed table info

2016-11-30 Thread Vijay Ramachandran
Hi. If I have an orc table bucketed and sorted on a column, where does hive keep the mapping from column value to bucket? Specifically, if I know the column value, and need to find the specific hdfs file, is there an api to do this? Related, is there any documentation on how the read path works f