feldera 0.46.0__py3-none-any.whl → 0.48.0__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.
Potentially problematic release.
This version of feldera might be problematic. Click here for more details.
- feldera/pipeline.py +24 -0
- feldera/runtime_config.py +2 -0
- {feldera-0.46.0.dist-info → feldera-0.48.0.dist-info}/METADATA +1 -1
- {feldera-0.46.0.dist-info → feldera-0.48.0.dist-info}/RECORD +6 -6
- {feldera-0.46.0.dist-info → feldera-0.48.0.dist-info}/WHEEL +1 -1
- {feldera-0.46.0.dist-info → feldera-0.48.0.dist-info}/top_level.txt +0 -0
feldera/pipeline.py
CHANGED
|
@@ -807,3 +807,27 @@ resume a paused pipeline."""
|
|
|
807
807
|
|
|
808
808
|
self.refresh()
|
|
809
809
|
return self._inner.program_info
|
|
810
|
+
|
|
811
|
+
def program_error(self) -> Mapping[str, Any]:
|
|
812
|
+
"""
|
|
813
|
+
Return the program error of the pipeline.
|
|
814
|
+
If there are no errors, the `exit_code` field inside both `sql_compilation` and `rust_compilation` will be 0.
|
|
815
|
+
"""
|
|
816
|
+
|
|
817
|
+
self.refresh()
|
|
818
|
+
return self._inner.program_error
|
|
819
|
+
|
|
820
|
+
def errors(self) -> List[Mapping[str, Any]]:
|
|
821
|
+
"""
|
|
822
|
+
Returns a list of all errors in this pipeline.
|
|
823
|
+
"""
|
|
824
|
+
errors = []
|
|
825
|
+
perr = self.program_error()
|
|
826
|
+
for e in perr.keys():
|
|
827
|
+
err = perr.get(e)
|
|
828
|
+
if err and err.get("exit_code", 0) != 0:
|
|
829
|
+
errors.append({e: err})
|
|
830
|
+
derr = self.deployment_error()
|
|
831
|
+
if derr:
|
|
832
|
+
errors.append(derr)
|
|
833
|
+
return errors
|
feldera/runtime_config.py
CHANGED
|
@@ -70,6 +70,7 @@ class RuntimeConfig:
|
|
|
70
70
|
max_buffering_delay_usecs: int = 0,
|
|
71
71
|
min_batch_size_records: int = 0,
|
|
72
72
|
clock_resolution_usecs: Optional[int] = None,
|
|
73
|
+
provisioning_timeout_secs: Optional[int] = None,
|
|
73
74
|
resources: Optional[Resources] = None,
|
|
74
75
|
):
|
|
75
76
|
self.workers = workers
|
|
@@ -80,6 +81,7 @@ class RuntimeConfig:
|
|
|
80
81
|
self.max_buffering_delay_usecs = max_buffering_delay_usecs
|
|
81
82
|
self.min_batch_size_records = min_batch_size_records
|
|
82
83
|
self.clock_resolution_usecs = clock_resolution_usecs
|
|
84
|
+
self.provisioning_timeout_secs = provisioning_timeout_secs
|
|
83
85
|
if resources is not None:
|
|
84
86
|
self.resources = resources.__dict__
|
|
85
87
|
|
|
@@ -3,9 +3,9 @@ feldera/_callback_runner.py,sha256=Tdf6BXN4zppyoy8t_y-Ooa3B0wEfvyezMHU9jxY2ZhA,4
|
|
|
3
3
|
feldera/_helpers.py,sha256=rN0WuGSCCQlXWFMimZUQrgs-LJAfUo074d79sLElncQ,3023
|
|
4
4
|
feldera/enums.py,sha256=tI48tTF65AU5ZLem_IDnC5ycPVMKMv591lW2T__U4C8,7281
|
|
5
5
|
feldera/output_handler.py,sha256=64J3ljhOaKIhxdjOKYi-BUz_HnMwROfmN8eE-btYygU,1930
|
|
6
|
-
feldera/pipeline.py,sha256=
|
|
6
|
+
feldera/pipeline.py,sha256=UR0eFOYtEWuYYAq_FMFVzOmOC1dCIvEX2Y6wbj-lVeY,30471
|
|
7
7
|
feldera/pipeline_builder.py,sha256=4rmklRZ0-otvTUb-HTESfNsJopEK-E2jxpJXiYlKpps,3664
|
|
8
|
-
feldera/runtime_config.py,sha256=
|
|
8
|
+
feldera/runtime_config.py,sha256=DDJTSzG6LCTH0lVnuUjpATAf1STwAYJOB38xyZh_BJI,3367
|
|
9
9
|
feldera/rest/__init__.py,sha256=Eg-EKUU3RSTDcdxTR_7wNDnCly8VpXEzsZCQUmf-y2M,308
|
|
10
10
|
feldera/rest/_httprequests.py,sha256=e22YbpzOzy7MGo7hk9MOU7ZRTj3F314grY0Ygr-_goI,6636
|
|
11
11
|
feldera/rest/config.py,sha256=DYzZKngDEhouTEwqVFd-rDrBN9tWqsU07Jl_BTT4mXs,1008
|
|
@@ -14,7 +14,7 @@ feldera/rest/feldera_client.py,sha256=Hf3CzY9Vr5LApNXDsH9mNtYWldk_qORL_sgJnZeD4H
|
|
|
14
14
|
feldera/rest/pipeline.py,sha256=a1lx-64SYak5mHX5yKElVijdfaAt5sDYVhVIXCJ97QQ,2839
|
|
15
15
|
feldera/rest/sql_table.py,sha256=qrw-YwMzx5T81zDefNO1KOx7EyypFz1vPwGBzSUB7kc,652
|
|
16
16
|
feldera/rest/sql_view.py,sha256=hN12mPM0mvwLCIPYywpb12s9Hd2Ws31IlTMXPriMisw,644
|
|
17
|
-
feldera-0.
|
|
18
|
-
feldera-0.
|
|
19
|
-
feldera-0.
|
|
20
|
-
feldera-0.
|
|
17
|
+
feldera-0.48.0.dist-info/METADATA,sha256=FmwF5ChvSw1-vgAfzRaOWCYBApJ1XHlXvrueE10kSks,2594
|
|
18
|
+
feldera-0.48.0.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
|
19
|
+
feldera-0.48.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
|
|
20
|
+
feldera-0.48.0.dist-info/RECORD,,
|
|
File without changes
|