public void setState(PartitionState state) {
        this.state = state;
    }
set state

@param state the state to set
inlong-sort-standalone/sort-standalone-source/src/main/java/org/apache/inlong/sort/standalone/sink/hive/PartitionCreateRunnable.java