Removed repeat impala queryies