@Override
  protected void subRemoveAttributeColumns(List<Integer> columnsToKeep) {
    if (columns != null) {
      columns = columnsToKeep.stream().map(i -> columns[i]).toArray();
    }
    if (nullBitMaps != null) {
      nullBitMaps = columnsToKeep.stream().map(i -> nullBitMaps[i]).toArray(BitMap[]::new);
    }
  }
This param record whether the source of logical view is aligned. Only used when there are
views.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/InsertTabletStatement.java