Skip to main content

tPartition example

In the following Job script example of tPartition, the number of partitions is set to 8, and columns name and city are defined as keys for partitioning, leaving all the other settings as default.

	setSettings {
		NBPARTITIONS : "8",
		PARTITION_KEY {
			SCHEMA_COLUMN : "id",
			KEY_ATTRIBUTE : "false",
			SCHEMA_COLUMN : "name",
			KEY_ATTRIBUTE : "true",
			SCHEMA_COLUMN : "city",
			KEY_ATTRIBUTE : "true"
		}
	}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!