moose-lib 0.6.1__tar.gz → 0.6.2__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 moose-lib might be problematic. Click here for more details.
- {moose_lib-0.6.1 → moose_lib-0.6.2}/PKG-INFO +1 -1
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/olap_table.py +0 -5
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/internal.py +0 -3
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib.egg-info/PKG-INFO +1 -1
- {moose_lib-0.6.1 → moose_lib-0.6.2}/README.md +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/__init__.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/blocks.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/clients/__init__.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/clients/redis_client.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/commons.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/config/__init__.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/config/config_file.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/config/runtime.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/data_models.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/__init__.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/_registry.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/consumption.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/ingest_api.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/ingest_pipeline.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/life_cycle.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/materialized_view.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/registry.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/sql_resource.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/stream.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/types.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/view.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2/workflow.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/dmv2-serializer.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/main.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/query_param.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/streaming/__init__.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/streaming/streaming_function_runner.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib/tasks.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib.egg-info/SOURCES.txt +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib.egg-info/dependency_links.txt +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib.egg-info/requires.txt +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/moose_lib.egg-info/top_level.txt +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/setup.cfg +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/setup.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/tests/__init__.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/tests/conftest.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/tests/test_moose.py +0 -0
- {moose_lib-0.6.1 → moose_lib-0.6.2}/tests/test_redis_client.py +0 -0
|
@@ -97,17 +97,12 @@ class OlapConfig(BaseModel):
|
|
|
97
97
|
Attributes:
|
|
98
98
|
order_by_fields: List of column names to use for the ORDER BY clause.
|
|
99
99
|
Crucial for `ReplacingMergeTree` and performance.
|
|
100
|
-
deduplicate: If True, uses the ReplacingMergeTree engine for automatic
|
|
101
|
-
deduplication based on `order_by_fields`. Equivalent to
|
|
102
|
-
setting `engine=ClickHouseEngines.ReplacingMergeTree`.
|
|
103
100
|
engine: The ClickHouse table engine to use (e.g., MergeTree, ReplacingMergeTree).
|
|
104
101
|
version: Optional version string for tracking configuration changes.
|
|
105
102
|
metadata: Optional metadata for the table.
|
|
106
103
|
life_cycle: Determines how changes in code will propagate to the resources.
|
|
107
104
|
"""
|
|
108
105
|
order_by_fields: list[str] = []
|
|
109
|
-
# equivalent to setting `engine=ClickHouseEngines.ReplacingMergeTree`
|
|
110
|
-
deduplicate: bool = False
|
|
111
106
|
engine: Optional[ClickHouseEngines] = None
|
|
112
107
|
version: Optional[str] = None
|
|
113
108
|
metadata: Optional[dict] = None
|
|
@@ -60,7 +60,6 @@ class TableConfig(BaseModel):
|
|
|
60
60
|
name: Name of the table.
|
|
61
61
|
columns: List of columns with their types and attributes.
|
|
62
62
|
order_by: List of columns used for the ORDER BY clause.
|
|
63
|
-
deduplicate: Whether the table uses a deduplicating engine (e.g., ReplacingMergeTree).
|
|
64
63
|
engine: The name of the ClickHouse engine used.
|
|
65
64
|
version: Optional version string of the table configuration.
|
|
66
65
|
metadata: Optional metadata for the table.
|
|
@@ -71,7 +70,6 @@ class TableConfig(BaseModel):
|
|
|
71
70
|
name: str
|
|
72
71
|
columns: List[Column]
|
|
73
72
|
order_by: List[str]
|
|
74
|
-
deduplicate: bool
|
|
75
73
|
engine: Optional[str]
|
|
76
74
|
version: Optional[str] = None
|
|
77
75
|
metadata: Optional[dict] = None
|
|
@@ -274,7 +272,6 @@ def to_infra_map() -> dict:
|
|
|
274
272
|
name=name,
|
|
275
273
|
columns=_to_columns(table._t),
|
|
276
274
|
order_by=table.config.order_by_fields,
|
|
277
|
-
deduplicate=table.config.deduplicate,
|
|
278
275
|
engine=None if engine is None else engine.value,
|
|
279
276
|
version=table.config.version,
|
|
280
277
|
metadata=getattr(table, "metadata", None),
|
|
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
|
|
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
|