Fixed query order impala