fix hash get to for pig type in query