snowpark-checkpoints-validators 0.2.0__tar.gz → 0.2.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 (56) hide show
  1. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/PKG-INFO +1 -1
  2. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/__version__.py +1 -1
  3. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/utils_checks.py +2 -2
  4. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/.gitignore +0 -0
  5. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/CHANGELOG.md +0 -0
  6. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/LICENSE +0 -0
  7. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/README.md +0 -0
  8. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/pyproject.toml +0 -0
  9. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/__init__.py +0 -0
  10. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/checkpoint.py +0 -0
  11. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/errors.py +0 -0
  12. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/job_context.py +0 -0
  13. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/singleton.py +0 -0
  14. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/snowpark_sampler.py +0 -0
  15. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/spark_migration.py +0 -0
  16. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/__init__.py +0 -0
  17. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/constants.py +0 -0
  18. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/extra_config.py +0 -0
  19. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/logging_utils.py +0 -0
  20. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/pandera_check_manager.py +0 -0
  21. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/supported_types.py +0 -0
  22. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/utils/telemetry.py +0 -0
  23. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/validation_result_metadata.py +0 -0
  24. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/src/snowflake/snowpark_checkpoints/validation_results.py +0 -0
  25. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/.coveragerc +0 -0
  26. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/e2eexample.py +0 -0
  27. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_compare_utils.py +0 -0
  28. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/df_mode_dataframe_mismatch_telemetry.json +0 -0
  29. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/df_mode_dataframe_telemetry.json +0 -0
  30. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/spark_checkpoint_df_fail_telemetry.json +0 -0
  31. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/spark_checkpoint_df_pass_telemetry.json +0 -0
  32. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/spark_checkpoint_limit_sample_telemetry.json +0 -0
  33. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/spark_checkpoint_random_sample_telemetry.json +0 -0
  34. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/spark_checkpoint_scalar_fail_telemetry.json +0 -0
  35. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/spark_checkpoint_scalar_passing_telemetry.json +0 -0
  36. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_df_check_custom_check_telemetry.json +0 -0
  37. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_df_check_fail_telemetry.json +0 -0
  38. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_df_check_from_file_telemetry.json +0 -0
  39. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_df_check_skip_check_telemetry.json +0 -0
  40. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_df_check_telemetry.json +0 -0
  41. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_input_fail_telemetry.json +0 -0
  42. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_input_telemetry.json +0 -0
  43. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_output_fail_telemetry.json +0 -0
  44. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/telemetry_expected/test_output_telemetry.json +0 -0
  45. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/test_pandera.py +0 -0
  46. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/test_parquet.py +0 -0
  47. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/integ/test_spark_checkpoint.py +0 -0
  48. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_extra_config.py +0 -0
  49. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_job_context.py +0 -0
  50. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_logger.py +0 -0
  51. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_logging_utils.py +0 -0
  52. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_pandera_check_manager.py +0 -0
  53. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_spark_migration.py +0 -0
  54. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_telemetry.py +0 -0
  55. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_utils_checks.py +0 -0
  56. {snowpark_checkpoints_validators-0.2.0 → snowpark_checkpoints_validators-0.2.1}/test/unit/test_validation_result_metadata.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: snowpark-checkpoints-validators
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Migration tools for Snowpark
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/
@@ -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"
@@ -72,11 +72,11 @@ def _replace_special_characters(checkpoint_name: str) -> str:
72
72
  str: The checkpoint name with special characters replaced by underscores.
73
73
 
74
74
  """
75
- regex = r"^[a-zA-Z_\s-][a-zA-Z0-9_$\s-]*$"
75
+ regex = r"^[a-zA-Z_\s-][a-zA-Z0-9$_\s-]*$"
76
76
  if not bool(re.match(regex, checkpoint_name)):
77
77
  raise ValueError(
78
78
  f"Invalid checkpoint name: {checkpoint_name}",
79
- "Checkpoint name must contain only alphanumeric characters, hyphens, and underscores.",
79
+ "Checkpoint name must contain only alphanumeric characters, hyphens, underscores and dollar signs.",
80
80
  )
81
81
  return re.sub(r"[\s-]", "_", checkpoint_name)
82
82