PHOENIX-43 Normalize select statement only once instead of with each compile