S01016

Error Code

S01016

Error Message

Some of the data being written is not defined in the partitioning scheme of the target database. RefId:S01016

Probable Causes

When writing data to a VALUE-partitioned database with the configuration parameter newValuePartitionPolicy set to 'fail', this error is reported if not all data belongs to the current partitioning scheme.

Solutions

  • Set newValuePartitionPolicy to 'add' to automatically add new partitions.
  • Set newValuePartitionPolicy to 'skip' to skip data that does not belong to the existing partitions. The skipped data will be discarded.
  • Before writing data, use addValuePartitions to add corresponding partitions in advance.