deltacat 1.1.12__py3-none-any.whl → 1.1.14__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- deltacat/__init__.py +1 -1
- deltacat/aws/clients.py +1 -1
- deltacat/compute/compactor/model/compact_partition_params.py +5 -0
- deltacat/compute/compactor_v2/compaction_session.py +97 -573
- deltacat/compute/compactor_v2/private/__init__.py +0 -0
- deltacat/compute/compactor_v2/private/compaction_utils.py +716 -0
- deltacat/compute/compactor_v2/utils/task_options.py +0 -1
- deltacat/tests/compute/compact_partition_rebase_test_cases.py +1 -0
- deltacat/tests/compute/compact_partition_rebase_then_incremental_test_cases.py +32 -0
- deltacat/tests/compute/compact_partition_test_cases.py +19 -1
- deltacat/tests/compute/test_compact_partition_incremental.py +13 -0
- deltacat/tests/compute/test_compact_partition_rebase.py +34 -0
- deltacat/tests/compute/test_compact_partition_rebase_then_incremental.py +12 -0
- deltacat/tests/compute/test_util_common.py +101 -0
- {deltacat-1.1.12.dist-info → deltacat-1.1.14.dist-info}/METADATA +15 -15
- {deltacat-1.1.12.dist-info → deltacat-1.1.14.dist-info}/RECORD +19 -17
- {deltacat-1.1.12.dist-info → deltacat-1.1.14.dist-info}/WHEEL +1 -1
- {deltacat-1.1.12.dist-info → deltacat-1.1.14.dist-info}/LICENSE +0 -0
- {deltacat-1.1.12.dist-info → deltacat-1.1.14.dist-info}/top_level.txt +0 -0
deltacat/__init__.py
CHANGED
deltacat/aws/clients.py
CHANGED
@@ -42,7 +42,7 @@ RETRYABLE_HTTP_STATUS_CODES = [
|
|
42
42
|
|
43
43
|
boto_retry_wrapper = Retrying(
|
44
44
|
wait=wait_random_exponential(multiplier=1, max=10),
|
45
|
-
stop=stop_after_delay(60 *
|
45
|
+
stop=stop_after_delay(60 * 10),
|
46
46
|
# CredentialRetrievalError can still be thrown due to throttling, even if IMDS health checks succeed.
|
47
47
|
retry=retry_if_exception_type(CredentialRetrievalError),
|
48
48
|
)
|
@@ -185,6 +185,11 @@ class CompactPartitionParams(dict):
|
|
185
185
|
|
186
186
|
@property
|
187
187
|
def task_max_parallelism(self) -> int:
|
188
|
+
if self.pg_config:
|
189
|
+
cluster_resources = self.pg_config.resource
|
190
|
+
cluster_cpus = cluster_resources["CPU"]
|
191
|
+
self.task_max_parallelism = cluster_cpus
|
192
|
+
self["task_max_parallelism"] = self.task_max_parallelism
|
188
193
|
return self["task_max_parallelism"]
|
189
194
|
|
190
195
|
@task_max_parallelism.setter
|