feldera 0.106.0__tar.gz → 0.108.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.

Files changed (32) hide show
  1. {feldera-0.106.0 → feldera-0.108.0}/PKG-INFO +1 -1
  2. {feldera-0.106.0 → feldera-0.108.0}/feldera.egg-info/PKG-INFO +1 -1
  3. {feldera-0.106.0 → feldera-0.108.0}/pyproject.toml +1 -1
  4. {feldera-0.106.0 → feldera-0.108.0}/tests/test_shared_pipeline1.py +9 -3
  5. {feldera-0.106.0 → feldera-0.108.0}/README.md +0 -0
  6. {feldera-0.106.0 → feldera-0.108.0}/feldera/__init__.py +0 -0
  7. {feldera-0.106.0 → feldera-0.108.0}/feldera/_callback_runner.py +0 -0
  8. {feldera-0.106.0 → feldera-0.108.0}/feldera/_helpers.py +0 -0
  9. {feldera-0.106.0 → feldera-0.108.0}/feldera/enums.py +0 -0
  10. {feldera-0.106.0 → feldera-0.108.0}/feldera/output_handler.py +0 -0
  11. {feldera-0.106.0 → feldera-0.108.0}/feldera/pipeline.py +0 -0
  12. {feldera-0.106.0 → feldera-0.108.0}/feldera/pipeline_builder.py +0 -0
  13. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/__init__.py +0 -0
  14. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/_helpers.py +0 -0
  15. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/_httprequests.py +0 -0
  16. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/config.py +0 -0
  17. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/errors.py +0 -0
  18. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/feldera_client.py +0 -0
  19. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/feldera_config.py +0 -0
  20. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/pipeline.py +0 -0
  21. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/sql_table.py +0 -0
  22. {feldera-0.106.0 → feldera-0.108.0}/feldera/rest/sql_view.py +0 -0
  23. {feldera-0.106.0 → feldera-0.108.0}/feldera/runtime_config.py +0 -0
  24. {feldera-0.106.0 → feldera-0.108.0}/feldera/stats.py +0 -0
  25. {feldera-0.106.0 → feldera-0.108.0}/feldera.egg-info/SOURCES.txt +0 -0
  26. {feldera-0.106.0 → feldera-0.108.0}/feldera.egg-info/dependency_links.txt +0 -0
  27. {feldera-0.106.0 → feldera-0.108.0}/feldera.egg-info/requires.txt +0 -0
  28. {feldera-0.106.0 → feldera-0.108.0}/feldera.egg-info/top_level.txt +0 -0
  29. {feldera-0.106.0 → feldera-0.108.0}/setup.cfg +0 -0
  30. {feldera-0.106.0 → feldera-0.108.0}/tests/test_pipeline_builder.py +0 -0
  31. {feldera-0.106.0 → feldera-0.108.0}/tests/test_shared_pipeline0.py +0 -0
  32. {feldera-0.106.0 → feldera-0.108.0}/tests/test_udf.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: feldera
3
- Version: 0.106.0
3
+ Version: 0.108.0
4
4
  Summary: The feldera python client
5
5
  Author-email: Feldera Team <dev@feldera.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: feldera
3
- Version: 0.106.0
3
+ Version: 0.108.0
4
4
  Summary: The feldera python client
5
5
  Author-email: Feldera Team <dev@feldera.com>
6
6
  License: MIT
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "feldera"
7
7
  readme = "README.md"
8
8
  description = "The feldera python client"
9
- version = "0.106.0"
9
+ version = "0.108.0"
10
10
  license = { text = "MIT" }
11
11
  requires-python = ">=3.10"
12
12
  authors = [
@@ -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(start_from_checkpoint="latest", auth_err=auth_err)
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