Hive intergration 3 (work in progress)