Don't see the point of the sanitize query command.  Normally sql sanitation is removing quotes and other unsafe characters that can result in sql injection.  In this case, it to just arbitrarily restrict the accepted commands.  Since beeswax/impala already check for invalid commands and send back errors, this is just a maintenance headache.