batch_create_partition
¶
batch_create_partition(
database_name: NameString,
table_name: NameString,
partition_input_list: PartitionInputList,
*,
config_overrides: Optional[GlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
) -> BatchCreatePartitionResponse
Creates one or more partitions in a batch operation.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the catalog in which the partition is to be created. Currently, this should be the Amazon Web Services account ID.
-
database_name(NameString) –The name of the metadata database in which the partition is to be created.
-
table_name(NameString) –The name of the metadata table in which the partition is to be created.
-
partition_input_list(PartitionInputList) –A list of
PartitionInputstructures that define the partitions to be created.
Raises:
-
AlreadyExistsException–A resource to be created or added already exists.
-
ConcurrentModificationException–Two processes are trying to modify a resource simultaneously.
-
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/glue.py
1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 | |