sqlmesh 0.230.2.dev4__py3-none-any.whl → 0.231.1.dev1__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.
- sqlmesh/_version.py +2 -2
- sqlmesh/core/context.py +9 -2
- {sqlmesh-0.230.2.dev4.dist-info → sqlmesh-0.231.1.dev1.dist-info}/METADATA +1 -1
- {sqlmesh-0.230.2.dev4.dist-info → sqlmesh-0.231.1.dev1.dist-info}/RECORD +8 -8
- {sqlmesh-0.230.2.dev4.dist-info → sqlmesh-0.231.1.dev1.dist-info}/WHEEL +0 -0
- {sqlmesh-0.230.2.dev4.dist-info → sqlmesh-0.231.1.dev1.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.230.2.dev4.dist-info → sqlmesh-0.231.1.dev1.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.230.2.dev4.dist-info → sqlmesh-0.231.1.dev1.dist-info}/top_level.txt +0 -0
sqlmesh/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.
|
|
32
|
-
__version_tuple__ = version_tuple = (0,
|
|
31
|
+
__version__ = version = '0.231.1.dev1'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 231, 1, 'dev1')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
sqlmesh/core/context.py
CHANGED
|
@@ -3043,10 +3043,17 @@ class GenericContext(BaseContext, t.Generic[C]):
|
|
|
3043
3043
|
modified_model_names: t.Set[str],
|
|
3044
3044
|
execution_time: t.Optional[TimeLike] = None,
|
|
3045
3045
|
) -> t.Tuple[t.Optional[int], t.Optional[int]]:
|
|
3046
|
-
|
|
3046
|
+
# exclude seeds so their stale interval ends does not become the default plan end date
|
|
3047
|
+
# when they're the only ones that contain intervals in this plan
|
|
3048
|
+
non_seed_interval_ends = {
|
|
3049
|
+
model_fqn: end
|
|
3050
|
+
for model_fqn, end in max_interval_end_per_model.items()
|
|
3051
|
+
if model_fqn not in snapshots or not snapshots[model_fqn].is_seed
|
|
3052
|
+
}
|
|
3053
|
+
if not non_seed_interval_ends:
|
|
3047
3054
|
return None, None
|
|
3048
3055
|
|
|
3049
|
-
default_end = to_timestamp(max(
|
|
3056
|
+
default_end = to_timestamp(max(non_seed_interval_ends.values()))
|
|
3050
3057
|
default_start: t.Optional[int] = None
|
|
3051
3058
|
# Infer the default start by finding the smallest interval start that corresponds to the default end.
|
|
3052
3059
|
for model_name in backfill_models or modified_model_names or max_interval_end_per_model:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=v_spqQEhcnGaahp1yPvMqUIa6mhH3cs3Bc1CznxvCEA,7965
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=8P83DcR2kxBxpgPbIlqrfVoC3Ern6icjAGR6aYIAIqQ,721
|
|
3
3
|
sqlmesh/magics.py,sha256=7Q1_lXSD_PgYH40Hsx6-OkfSQC3UJZgF043RVFRnw1s,42082
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -13,7 +13,7 @@ sqlmesh/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
13
13
|
sqlmesh/core/_typing.py,sha256=PzXxMYnORq18JhblAOUttms3zPJZzZpIbfFA_jgKYPA,498
|
|
14
14
|
sqlmesh/core/console.py,sha256=MYpVlciUY6rUuoqXyKfXTxD6a4-Bw4-ooATUTj_VHGg,172830
|
|
15
15
|
sqlmesh/core/constants.py,sha256=BuQk43vluUm7LfP9nKp5o9qRhqIenWF_LiLXO_t_53c,2699
|
|
16
|
-
sqlmesh/core/context.py,sha256=
|
|
16
|
+
sqlmesh/core/context.py,sha256=qHj0mBEtsacDYqy1DVdq7Hi6dRsQ55JPv9aoPSGOCRE,133473
|
|
17
17
|
sqlmesh/core/context_diff.py,sha256=mxkJu0IthFMOlaQ_kcq5C09mlgkq2RQb-pG2rd-x_nA,21648
|
|
18
18
|
sqlmesh/core/dialect.py,sha256=qrCMuDYV2S9uYD3Xx8tIxHKAxuCQAArgofbByYJE7Wk,53493
|
|
19
19
|
sqlmesh/core/environment.py,sha256=Kgs_gUEUI072mh0JJFWNRynrCxp1TzRHZhX_NWJRfXc,13142
|
|
@@ -238,7 +238,7 @@ sqlmesh/utils/pydantic.py,sha256=-yppkVlw6iSBaSiKjbe7OChxL-u3urOS4-KCjJEgsRU,120
|
|
|
238
238
|
sqlmesh/utils/rich.py,sha256=cwQ5nJ6sgz64xHtoh6_ec7ReV5YpsOGhMtUJnwoRfEI,3549
|
|
239
239
|
sqlmesh/utils/windows.py,sha256=0F9RdpuuCoG5NiEDXvWlAGCiJ-59OjSAmgFF5wW05aY,1133
|
|
240
240
|
sqlmesh/utils/yaml.py,sha256=KFBd7hsKNRTtRudGR7d410qUYffQv0EWRcDM8hVNNZg,3025
|
|
241
|
-
sqlmesh-0.
|
|
241
|
+
sqlmesh-0.231.1.dev1.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
242
242
|
sqlmesh_dbt/__init__.py,sha256=awYS5y5mz-1NUmx6i5h5NSTJ7tidRl9NC0FAnFWSF6U,350
|
|
243
243
|
sqlmesh_dbt/cli.py,sha256=p9foHjAW9ni7BTOJ2loynk47M0Sf43QIJZRggOzF5tc,6351
|
|
244
244
|
sqlmesh_dbt/console.py,sha256=RwWLYnEZHzn9Xp-e2gbZvkdKbWbBLN146geI84mJitg,1132
|
|
@@ -363,8 +363,8 @@ web/server/api/endpoints/models.py,sha256=kwj0s7uve3iZSMfmjkoPVMFMeY1sD0peTeyrWf
|
|
|
363
363
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
364
364
|
web/server/api/endpoints/plan.py,sha256=bbbY50W_2MsZSTxOHWMKz0tbIm75nsRSlPy8GI2fg9Q,9306
|
|
365
365
|
web/server/api/endpoints/table_diff.py,sha256=8XTwgOh6QBbNy_hTM1JuHgRjbnie-pGPrphiW-FNLjQ,6058
|
|
366
|
-
sqlmesh-0.
|
|
367
|
-
sqlmesh-0.
|
|
368
|
-
sqlmesh-0.
|
|
369
|
-
sqlmesh-0.
|
|
370
|
-
sqlmesh-0.
|
|
366
|
+
sqlmesh-0.231.1.dev1.dist-info/METADATA,sha256=kGFq8kq-E234HXY0T63zC_Y4LcucxryyomNy22fmy2s,26677
|
|
367
|
+
sqlmesh-0.231.1.dev1.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
368
|
+
sqlmesh-0.231.1.dev1.dist-info/entry_points.txt,sha256=sHAf6tQczIM8xZoduN4qaUjV7QEPVUUW_LCT8EDUMv4,155
|
|
369
|
+
sqlmesh-0.231.1.dev1.dist-info/top_level.txt,sha256=RQ-33FPe2IgL0rgossAfJkCRtqslz9b7wFARqiWLC5Q,24
|
|
370
|
+
sqlmesh-0.231.1.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|