public int getPartitionColumnsSize() {
    return (this.partitionColumns == null) ? 0 : this.partitionColumns.size();
  }
Returns true if field pks is set (has been assigned a value) and false otherwise
amoro-common/src/main/gen-java/org/apache/amoro/api/Schema.java