@Override
      protected boolean allowsAs() {
        return true;
      }
Get SQL rewrite for a Calcite logical plan

@return Optimized SQL text (or null, if failed)
ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java