snowpark-checkpoints-collectors 0.2.0__py3-none-any.whl → 0.2.1__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.
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = "0.2.0"
16
+ __version__ = "0.2.1"
@@ -95,7 +95,8 @@ def collect_dataframe_checkpoint(
95
95
 
96
96
  Raises:
97
97
  Exception: Invalid mode value.
98
- Exception: Invalid checkpoint name. Checkpoint names must only contain alphanumeric characters and underscores.
98
+ Exception: Invalid checkpoint name. Checkpoint names must only contain alphanumeric characters
99
+ , underscores and dollar signs.
99
100
 
100
101
  """
101
102
  normalized_checkpoint_name = checkpoint_name_utils.normalize_checkpoint_name(
@@ -113,7 +114,7 @@ def collect_dataframe_checkpoint(
113
114
  if not is_valid_checkpoint_name:
114
115
  raise Exception(
115
116
  f"Invalid checkpoint name: {normalized_checkpoint_name}. "
116
- f"Checkpoint names must only contain alphanumeric characters and underscores."
117
+ "Checkpoint names must only contain alphanumeric characters, underscores and dollar signs."
117
118
  )
118
119
  if not is_checkpoint_enabled(normalized_checkpoint_name):
119
120
  LOGGER.info(
@@ -16,7 +16,7 @@
16
16
  import re as regx
17
17
 
18
18
 
19
- CHECKPOINT_NAME_REGEX_PATTERN = r"[a-zA-Z_][a-zA-Z0-9_]+"
19
+ CHECKPOINT_NAME_REGEX_PATTERN = r"[a-zA-Z_][a-zA-Z0-9_$]+"
20
20
  TRANSLATION_TABLE = str.maketrans({" ": "_", "-": "_"})
21
21
 
22
22
 
@@ -39,7 +39,7 @@ def is_valid_checkpoint_name(checkpoint_name: str) -> bool:
39
39
 
40
40
  A valid checkpoint name must:
41
41
  - Start with a letter (a-z, A-Z) or an underscore (_)
42
- - Be followed by any combination of letters, digits (0-9) and underscores (_).
42
+ - Be followed by any combination of letters, digits (0-9), underscores (_), and dollar signs ($).
43
43
 
44
44
  Args:
45
45
  checkpoint_name (str): The checkpoint name to validate.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: snowpark-checkpoints-collectors
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Snowpark column and table statistics collection
5
5
  Project-URL: Bug Tracker, https://github.com/snowflakedb/snowpark-checkpoints/issues
6
6
  Project-URL: Source code, https://github.com/snowflakedb/snowpark-checkpoints/
@@ -1,8 +1,8 @@
1
1
  snowflake/snowpark_checkpoints_collector/__init__.py,sha256=GIESlH2W6g_qdcnyRqw9yjsvEkt0aniFvGixKlF4K7A,1096
2
- snowflake/snowpark_checkpoints_collector/__version__.py,sha256=ajnGza8ucK69-PA8wEbHmWZxDwd3bsTm74yMKiIWNHY,632
2
+ snowflake/snowpark_checkpoints_collector/__version__.py,sha256=jEnm4p_P4FqdYsTq3hnGQnhLZ4KwL0_Ew8fDF8BRL98,632
3
3
  snowflake/snowpark_checkpoints_collector/collection_common.py,sha256=ff5vYffrTRjoJXZQvVQBaOlegAUj_vXBbl1IZidz8Qo,4510
4
4
  snowflake/snowpark_checkpoints_collector/singleton.py,sha256=7AgIHQBXVRvPBBCkmBplzkdrrm-xVWf_N8svzA2vF8E,836
5
- snowflake/snowpark_checkpoints_collector/summary_stats_collector.py,sha256=_U-gfBjk2QU_dDyJPGKekfzuP1Stkx-FyTuZiecvt6M,14572
5
+ snowflake/snowpark_checkpoints_collector/summary_stats_collector.py,sha256=Jd881L0Ju3I-aGhj0dkZZ_ZjW7x-NXKqcMD4sCRCaDw,14619
6
6
  snowflake/snowpark_checkpoints_collector/collection_result/model/__init__.py,sha256=jZzx29WzrjH7C_6ZsBGoe4PxbW_oM4uIjySS1axIM34,1000
7
7
  snowflake/snowpark_checkpoints_collector/collection_result/model/collection_point_result.py,sha256=8xD9zGnFJ7Rz9RUXIys7JnV3kQD4mk8QwNOTxAihSjQ,2908
8
8
  snowflake/snowpark_checkpoints_collector/collection_result/model/collection_point_result_manager.py,sha256=6XbjHiehEm_RN_9y2MRlr0MaSgk3cWTczwZEYqUHCpM,2565
@@ -28,12 +28,12 @@ snowflake/snowpark_checkpoints_collector/column_pandera_checks/__init__.py,sha25
28
28
  snowflake/snowpark_checkpoints_collector/column_pandera_checks/pandera_column_checks_manager.py,sha256=X1Mm37DKt-WZ5AegvoUA3itU1nBUxvhBxvjO85QqcGE,7893
29
29
  snowflake/snowpark_checkpoints_collector/snow_connection_model/__init__.py,sha256=kLjZId-aGCljK7lF6yeEw-syEqeTOJDxdXfpv9YxvZA,755
30
30
  snowflake/snowpark_checkpoints_collector/snow_connection_model/snow_connection.py,sha256=odKGTzc0xov8WOgJSR6WmVs0IT-f6O4YoaLqH6CbbFo,7263
31
- snowflake/snowpark_checkpoints_collector/utils/checkpoint_name_utils.py,sha256=WExQaZ4oL4otDCtM8kyGbf0Gn_v1a-tzM5j1p0wVDVg,1767
31
+ snowflake/snowpark_checkpoints_collector/utils/checkpoint_name_utils.py,sha256=Xc4k3JU6A96-79VFRR8NrNAUPeO3V1DEAhngg-hLlU4,1787
32
32
  snowflake/snowpark_checkpoints_collector/utils/extra_config.py,sha256=t8WakSiHA3sgnXxz0WXE7q2MG7czWlnSYB5XR9swIhs,3643
33
33
  snowflake/snowpark_checkpoints_collector/utils/file_utils.py,sha256=deetkhQZOB0GUxQJvUHw4Ridp_rNYiCqmK9li3uwBL0,4324
34
34
  snowflake/snowpark_checkpoints_collector/utils/logging_utils.py,sha256=yyi6X5DqKeTg0HRhvsH6ymYp2P0wbnyKIzI2RzrQS7k,2278
35
35
  snowflake/snowpark_checkpoints_collector/utils/telemetry.py,sha256=7S0yFE3Zq96SEGmVuVbpYc_wtXIQUpL--6KfGoxwJcA,30837
36
- snowpark_checkpoints_collectors-0.2.0.dist-info/METADATA,sha256=LPo0O5OEDHGXHKla-KDJioKIX8bqwBPbgP6BS8ufnQA,6003
37
- snowpark_checkpoints_collectors-0.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
- snowpark_checkpoints_collectors-0.2.0.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
39
- snowpark_checkpoints_collectors-0.2.0.dist-info/RECORD,,
36
+ snowpark_checkpoints_collectors-0.2.1.dist-info/METADATA,sha256=xu9uudc0KMeTcai8EF89QVaJZRN00E3kH79aRzfRkw0,6003
37
+ snowpark_checkpoints_collectors-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
+ snowpark_checkpoints_collectors-0.2.1.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
39
+ snowpark_checkpoints_collectors-0.2.1.dist-info/RECORD,,