@Override
  public String toString() {
    return "has " + alias;
  }
Just check alias is present; return self mapping from symbolAliasesMap.
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/planner/assertions/AliasPresent.java