Bypassing queryRewrite for SQL API clients