public static SqlSelectBlock makeSelect(SqlAlias node) {

    if (true) {
      SqlSelectBlock result = _makeSelect(node.getSubNode());
      // result.setAliasName(node.getAliasName());

      SqlSelectBlock wrap = new SqlSelectBlock(node.getAliasName(), result);
      copyProjection(wrap, result);

      return wrap;

      /*
      copyProjection(result, node);
      result.setAliasName(node.getAliasName());
      return result;
      */
    }
    // throw new RuntimeException("Should not come here");

    SqlNodeOld result = _makeSelectOrTable(node.getSubNode());

    SqlSelectBlock wrap = new SqlSelectBlock(node.getAliasName(), result);
    copyProjection(wrap, result);

    return wrap;

    /*
    wrap.getSparqlVarToExprs().putAll(node.getSparqlVarToExprs());
    wrap.getAliasToColumn().putAll(node.getAliasToColumn());

      	result.setAliasName(node.getAliasName());

      	return result;
      	*/
  }
  public static SqlNodeOld makeSelectOrTable(SqlAlias node) {
    SqlNodeOld tmp = _makeSelectOrTable(node.getSubNode());

    SqlAlias result = new SqlAlias(node.getAliasName(), tmp);
    copyProjection(result, node);

    return result;
  }