snowpark-checkpoints-collectors 0.1.0rc3__tar.gz → 0.1.1__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.
Files changed (85) hide show
  1. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/LICENSE +0 -25
  2. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/PKG-INFO +4 -7
  3. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/README.md +1 -4
  4. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/pyproject.toml +11 -4
  5. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/__init__.py +22 -0
  6. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/collection_common.py +14 -3
  7. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/collection_result/model/__init__.py +24 -0
  8. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/collection_result/model/collection_point_result.py +14 -3
  9. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/collection_result/model/collection_point_result_manager.py +14 -3
  10. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/column_collection/__init__.py +22 -0
  11. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/column_collector_manager.py +14 -3
  12. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/__init__.py +14 -3
  13. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/array_column_collector.py +14 -3
  14. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/binary_column_collector.py +14 -3
  15. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/boolean_column_collector.py +14 -3
  16. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/column_collector_base.py +14 -3
  17. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/date_column_collector.py +14 -3
  18. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/day_time_interval_column_collector.py +14 -3
  19. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/decimal_column_collector.py +14 -3
  20. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/empty_column_collector.py +14 -3
  21. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/map_column_collector.py +14 -3
  22. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/null_column_collector.py +14 -3
  23. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/numeric_column_collector.py +14 -3
  24. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/string_column_collector.py +14 -3
  25. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/struct_column_collector.py +14 -3
  26. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/timestamp_column_collector.py +14 -3
  27. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_collection/model/timestamp_ntz_column_collector.py +14 -3
  28. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/column_pandera_checks/__init__.py +20 -0
  29. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/column_pandera_checks/pandera_column_checks_manager.py +14 -3
  30. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/singleton.py +23 -0
  31. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/snow_connection_model/__init__.py +20 -0
  32. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/snow_connection_model/snow_connection.py +14 -3
  33. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/summary_stats_collector.py +14 -3
  34. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/utils/checkpoint_name_utils.py +16 -13
  35. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/utils/extra_config.py +14 -3
  36. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/src/snowflake/snowpark_checkpoints_collector/utils/file_utils.py +14 -3
  37. snowpark_checkpoints_collectors-0.1.1/src/snowflake/snowpark_checkpoints_collector/utils/telemetry.py +889 -0
  38. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/.coveragerc +1 -0
  39. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/telemetry_compare_utils.py +14 -14
  40. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1.py +14 -3
  41. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2.py +14 -3
  42. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2_expected/test_collect_checkpoint_mode_2_parquet_directory _telemetry.json +3 -3
  43. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2_expected/test_collect_checkpoint_mode_2_telemetry.json +3 -3
  44. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2_expected/test_collect_empty_dataframe_with_schema_telemetry.json +3 -3
  45. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2_expected/test_collect_invalid_mode_telemetry.json +3 -3
  46. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2_expected/test_generate_parquet_for_spark_df_telemetry.json +3 -3
  47. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_2_expected/test_spark_df_mode_dataframe_telemetry.json +3 -3
  48. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collection_result_file.py +14 -3
  49. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_snow_connection_int.py +14 -3
  50. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_column_collection.py +14 -3
  51. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_extra_config.py +14 -3
  52. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_file_utils.py +14 -3
  53. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_snow_connection.py +14 -3
  54. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_summary_stats_collector.py +14 -3
  55. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/__init__.py +0 -11
  56. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/collection_result/model/__init__.py +0 -13
  57. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/column_collection/__init__.py +0 -11
  58. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/column_pandera_checks/__init__.py +0 -9
  59. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/singleton.py +0 -12
  60. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/snow_connection_model/__init__.py +0 -9
  61. snowpark_checkpoints_collectors-0.1.0rc3/src/snowflake/snowpark_checkpoints_collector/utils/telemetry.py +0 -1
  62. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/.gitignore +0 -0
  63. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/CHANGELOG.md +0 -0
  64. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/snowpark-testdf-schema.json +0 -0
  65. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_checkpoint_name.py +0 -0
  66. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_dataframe_all_column_types_with_null_values.json +0 -0
  67. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_dataframe_all_column_types_with_null_values_telemetry.json +0 -0
  68. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_dataframe_with_unsupported_pandera_column_type.json +0 -0
  69. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_dataframe_with_unsupported_pandera_column_type_telemetry.json +0 -0
  70. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_df_with_null_values.json +0 -0
  71. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_df_with_null_values_telemetry.json +0 -0
  72. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_df_with_only_null_values.json +0 -0
  73. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_df_with_only_null_values_telemetry.json +0 -0
  74. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_empty_df_with_object_column.json +0 -0
  75. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_empty_df_with_object_column_telemetry.json +0 -0
  76. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_empty_df_with_schema.json +0 -0
  77. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_empty_df_with_schema_telemetry.json +0 -0
  78. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_full_df.json +0 -0
  79. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_full_df_all_column_type.json +0 -0
  80. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_full_df_all_column_type_telemetry.json +0 -0
  81. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/integ/test_collect_df_mode_1_expected/test_full_df_telemetry.json +0 -0
  82. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_checkpoint_name_utils.py +0 -0
  83. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_collection_point_result.py +0 -0
  84. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_collection_point_result_manager.py +0 -0
  85. {snowpark_checkpoints_collectors-0.1.0rc3 → snowpark_checkpoints_collectors-0.1.1}/test/unit/test_pandera_column_check_manager.py +0 -0
@@ -175,28 +175,3 @@
175
175
  of your accepting any such warranty or additional liability.
176
176
 
177
177
  END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright 2025 Snowflake
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: snowpark-checkpoints-collectors
3
- Version: 0.1.0rc3
3
+ Version: 0.1.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/
@@ -28,8 +28,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
28
  Requires-Python: <3.12,>=3.9
29
29
  Requires-Dist: pandera[io]==0.20.4
30
30
  Requires-Dist: pyspark
31
- Requires-Dist: snowflake-connector-python
32
- Requires-Dist: snowflake-snowpark-python
31
+ Requires-Dist: snowflake-connector-python==3.13.0
32
+ Requires-Dist: snowflake-snowpark-python==1.26.0
33
33
  Provides-Extra: development
34
34
  Requires-Dist: coverage>=7.6.7; extra == 'development'
35
35
  Requires-Dist: deepdiff>=8.0.0; extra == 'development'
@@ -46,11 +46,8 @@ Description-Content-Type: text/markdown
46
46
 
47
47
  ---
48
48
  **NOTE**
49
-
50
- This package is on Private Preview.
51
-
49
+ This package is on Public Preview.
52
50
  ---
53
-
54
51
  **snowpark-checkpoints-collector** package offers a function for extracting information from PySpark dataframes. We can then use that data to validate against the converted Snowpark dataframes to ensure that behavioral equivalence has been achieved.
55
52
  ## Features
56
53
 
@@ -2,11 +2,8 @@
2
2
 
3
3
  ---
4
4
  **NOTE**
5
-
6
- This package is on Private Preview.
7
-
5
+ This package is on Public Preview.
8
6
  ---
9
-
10
7
  **snowpark-checkpoints-collector** package offers a function for extracting information from PySpark dataframes. We can then use that data to validate against the converted Snowpark dataframes to ensure that behavioral equivalence has been achieved.
11
8
  ## Features
12
9
 
@@ -26,8 +26,8 @@ classifiers = [
26
26
  "Topic :: Scientific/Engineering :: Information Analysis",
27
27
  ]
28
28
  dependencies = [
29
- "snowflake-snowpark-python",
30
- "snowflake-connector-python",
29
+ "snowflake-snowpark-python==1.26.0",
30
+ "snowflake-connector-python==3.13.0",
31
31
  "pyspark",
32
32
  "pandera[io]==0.20.4",
33
33
  ]
@@ -76,15 +76,22 @@ where = ["src/"]
76
76
  dev-mode-dirs = ['src']
77
77
  directory = 'snowpark-checkpoints-collectors'
78
78
 
79
+ [[tool.hatch.sources]]
80
+ dir = "src/snowflake/snowpark_checkpoints_collector"
81
+ name = "snowpark-checkpoints-collectors"
82
+ type = "package"
83
+
79
84
  [tool.hatch.build.targets.wheel]
80
85
  directory = "dist"
81
- packages = ["snowpark-checkpoints-collectors/src/snowflake/snowpark_checkpoints_collector"]
86
+ packages = [
87
+ "src/snowflake",
88
+ ]
82
89
 
83
90
  [tool.hatch.build.targets.sdist]
84
91
  directory = "dist"
85
92
  exclude = ["/.github", "/.idea"]
86
93
  include = [
87
- 'src/',
94
+ 'src/**',
88
95
  'README.md',
89
96
  'LICENSE',
90
97
  'test/',
@@ -0,0 +1,22 @@
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ __all__ = ["collect_dataframe_checkpoint", "CheckpointMode"]
17
+
18
+ from snowflake.snowpark_checkpoints_collector.summary_stats_collector import (
19
+ collect_dataframe_checkpoint,
20
+ )
21
+
22
+ from snowflake.snowpark_checkpoints_collector.collection_common import CheckpointMode
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  import locale
6
17
 
@@ -0,0 +1,24 @@
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ __all__ = ["CollectionPointResult", "CollectionResult", "CollectionPointResultManager"]
17
+
18
+ from snowflake.snowpark_checkpoints_collector.collection_result.model.collection_point_result import (
19
+ CollectionPointResult,
20
+ CollectionResult,
21
+ )
22
+ from snowflake.snowpark_checkpoints_collector.collection_result.model.collection_point_result_manager import (
23
+ CollectionPointResultManager,
24
+ )
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from datetime import datetime
5
16
  from enum import Enum
6
17
 
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  import json
5
16
 
6
17
  from typing import Optional
@@ -0,0 +1,22 @@
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ __all__ = [
17
+ "ColumnCollectorManager",
18
+ ]
19
+
20
+ from snowflake.snowpark_checkpoints_collector.column_collection.column_collector_manager import (
21
+ ColumnCollectorManager,
22
+ )
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from pyspark.sql import DataFrame as SparkDataFrame
5
16
  from pyspark.sql.types import StructField
6
17
 
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  __all__ = [
6
17
  "ArrayColumnCollector",
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from statistics import mean
5
16
 
6
17
  from pyspark.sql import DataFrame as SparkDataFrame
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from statistics import mean
5
16
 
6
17
  from pyspark.sql import DataFrame as SparkDataFrame
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.types import StructField
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from abc import ABC, abstractmethod
6
17
 
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from pyspark.sql import DataFrame as SparkDataFrame
5
16
  from pyspark.sql.functions import col as spark_col
6
17
  from pyspark.sql.functions import max as spark_max
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.functions import col as spark_col
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.functions import col as spark_col
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.types import StructField
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from statistics import mean
5
16
 
6
17
  from pyspark.sql import DataFrame as SparkDataFrame
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from pyspark.sql import DataFrame as SparkDataFrame
5
16
  from pyspark.sql.types import StructField
6
17
 
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.functions import col as spark_col
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from pyspark.sql import DataFrame as SparkDataFrame
5
16
  from pyspark.sql.functions import col as spark_col
6
17
  from pyspark.sql.functions import length as spark_length
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
  from pyspark.sql import DataFrame as SparkDataFrame
5
16
  from pyspark.sql.types import StructField
6
17
 
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.functions import col as spark_col
@@ -1,6 +1,17 @@
1
- #
2
- # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
3
- #
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
4
15
 
5
16
  from pyspark.sql import DataFrame as SparkDataFrame
6
17
  from pyspark.sql.functions import col as spark_col
@@ -0,0 +1,20 @@
1
+ # Copyright 2025 Snowflake Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ __all__ = ["PanderaColumnChecksManager"]
17
+
18
+ from snowflake.snowpark_checkpoints_collector.column_pandera_checks.pandera_column_checks_manager import (
19
+ PanderaColumnChecksManager,
20
+ )