private static boolean rewriteTableAlias ( StmtSubqueryScan scan ) { final AbstractParsedStmt stmt = scan . getSubqueryStmt ( ) ; return stmt instanceof ParsedSelectStmt && ( new MVQueryRewriter ( ( ParsedSelectStmt ) stmt ) ) . rewrite ( ) ; }
Checks for any opportunity to rewrite sub - queries