Fix handling of Hive tables bucketed on string