Hive intergration 2 (work in progress)