feldera 0.106.0__tar.gz → 0.107.0__tar.gz
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-0.106.0 → feldera-0.107.0}/PKG-INFO +1 -1
- {feldera-0.106.0 → feldera-0.107.0}/feldera.egg-info/PKG-INFO +1 -1
- {feldera-0.106.0 → feldera-0.107.0}/pyproject.toml +1 -1
- {feldera-0.106.0 → feldera-0.107.0}/tests/test_shared_pipeline1.py +9 -3
- {feldera-0.106.0 → feldera-0.107.0}/README.md +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/__init__.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/_callback_runner.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/_helpers.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/enums.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/output_handler.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/pipeline.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/pipeline_builder.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/__init__.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/_helpers.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/_httprequests.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/config.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/errors.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/feldera_client.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/feldera_config.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/pipeline.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/sql_table.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/rest/sql_view.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/runtime_config.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera/stats.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera.egg-info/SOURCES.txt +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera.egg-info/dependency_links.txt +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera.egg-info/requires.txt +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/feldera.egg-info/top_level.txt +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/setup.cfg +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/tests/test_pipeline_builder.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/tests/test_shared_pipeline0.py +0 -0
- {feldera-0.106.0 → feldera-0.107.0}/tests/test_udf.py +0 -0
|
@@ -36,7 +36,7 @@ def storage_cfg(
|
|
|
36
36
|
|
|
37
37
|
class TestCheckpointSync(SharedTestPipeline):
|
|
38
38
|
@enterprise_only
|
|
39
|
-
def test_checkpoint_sync(self, auth_err: bool = False):
|
|
39
|
+
def test_checkpoint_sync(self, from_uuid: bool = False, auth_err: bool = False):
|
|
40
40
|
"""
|
|
41
41
|
CREATE TABLE t0 (c0 INT, c1 VARCHAR);
|
|
42
42
|
CREATE MATERIALIZED VIEW v0 AS SELECT c0 FROM t0;
|
|
@@ -53,13 +53,15 @@ class TestCheckpointSync(SharedTestPipeline):
|
|
|
53
53
|
got_before = list(self.pipeline.query("SELECT * FROM v0"))
|
|
54
54
|
|
|
55
55
|
self.pipeline.checkpoint(wait=True)
|
|
56
|
-
self.pipeline.sync_checkpoint(wait=True)
|
|
56
|
+
uuid = self.pipeline.sync_checkpoint(wait=True)
|
|
57
57
|
|
|
58
58
|
self.pipeline.stop(force=True)
|
|
59
59
|
self.pipeline.clear_storage()
|
|
60
60
|
|
|
61
61
|
# Restart pipeline from checkpoint
|
|
62
|
-
storage_config = storage_cfg(
|
|
62
|
+
storage_config = storage_cfg(
|
|
63
|
+
start_from_checkpoint=uuid if from_uuid else "latest", auth_err=auth_err
|
|
64
|
+
)
|
|
63
65
|
self.set_runtime_config(RuntimeConfig(storage=Storage(config=storage_config)))
|
|
64
66
|
self.pipeline.start()
|
|
65
67
|
got_after = list(self.pipeline.query("SELECT * FROM v0"))
|
|
@@ -69,6 +71,10 @@ class TestCheckpointSync(SharedTestPipeline):
|
|
|
69
71
|
self.pipeline.stop(force=True)
|
|
70
72
|
self.pipeline.clear_storage()
|
|
71
73
|
|
|
74
|
+
@enterprise_only
|
|
75
|
+
def test_checkpoint_sync_from_uuid(self):
|
|
76
|
+
self.test_checkpoint_sync(from_uuid=True)
|
|
77
|
+
|
|
72
78
|
@enterprise_only
|
|
73
79
|
def test_checkpoint_sync_err(self):
|
|
74
80
|
with self.assertRaisesRegex(RuntimeError, "SignatureDoesNotMatch"):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|