Currently we are using string matching to shortcut those set, show statements. However, this approach somehow fragile. Since we are already using sqlparser for rewrite rules, we can get Statement for both simple and extended query. It would be better to rewrite those shortcut code by check the structured Statement.