snowpark-checkpoints-validators 0.3.1__tar.gz → 0.3.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.
Files changed (62) hide show
  1. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/PKG-INFO +1 -1
  2. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/__init__.py +1 -0
  3. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/__version__.py +1 -1
  4. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_utils_checks.py +10 -0
  5. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/.gitignore +0 -0
  6. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/CHANGELOG.md +0 -0
  7. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/LICENSE +0 -0
  8. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/README.md +0 -0
  9. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/pyproject.toml +0 -0
  10. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/checkpoint.py +0 -0
  11. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/errors.py +0 -0
  12. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/io_utils/__init__.py +0 -0
  13. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/io_utils/io_default_strategy.py +0 -0
  14. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/io_utils/io_env_strategy.py +0 -0
  15. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/io_utils/io_file_manager.py +0 -0
  16. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/job_context.py +0 -0
  17. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/singleton.py +0 -0
  18. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/snowpark_sampler.py +0 -0
  19. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/spark_migration.py +0 -0
  20. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/__init__.py +0 -0
  21. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/constants.py +0 -0
  22. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/extra_config.py +0 -0
  23. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/logging_utils.py +0 -0
  24. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/pandera_check_manager.py +0 -0
  25. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/supported_types.py +0 -0
  26. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/telemetry.py +0 -0
  27. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/utils/utils_checks.py +0 -0
  28. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/validation_result_metadata.py +0 -0
  29. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/src/snowflake/snowpark_checkpoints/validation_results.py +0 -0
  30. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/.coveragerc +0 -0
  31. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/e2eexample.py +0 -0
  32. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_compare_utils.py +0 -0
  33. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/df_mode_dataframe_mismatch_telemetry.json +0 -0
  34. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/df_mode_dataframe_telemetry.json +0 -0
  35. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/spark_checkpoint_df_fail_telemetry.json +0 -0
  36. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/spark_checkpoint_df_pass_telemetry.json +0 -0
  37. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/spark_checkpoint_limit_sample_telemetry.json +0 -0
  38. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/spark_checkpoint_random_sample_telemetry.json +0 -0
  39. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/spark_checkpoint_scalar_fail_telemetry.json +0 -0
  40. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/spark_checkpoint_scalar_passing_telemetry.json +0 -0
  41. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_df_check_custom_check_telemetry.json +0 -0
  42. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_df_check_fail_telemetry.json +0 -0
  43. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_df_check_from_file_telemetry.json +0 -0
  44. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_df_check_skip_check_telemetry.json +0 -0
  45. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_df_check_telemetry.json +0 -0
  46. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_input_fail_telemetry.json +0 -0
  47. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_input_telemetry.json +0 -0
  48. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_output_fail_telemetry.json +0 -0
  49. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/telemetry_expected/test_output_telemetry.json +0 -0
  50. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/test_pandera.py +0 -0
  51. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/test_parquet.py +0 -0
  52. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/integ/test_spark_checkpoint.py +0 -0
  53. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/io_utils/test_default_strategy.py +0 -0
  54. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_checkpoints.py +0 -0
  55. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_extra_config.py +0 -0
  56. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_job_context.py +0 -0
  57. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_logger.py +0 -0
  58. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_logging_utils.py +0 -0
  59. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_pandera_check_manager.py +0 -0
  60. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_spark_migration.py +0 -0
  61. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/test/unit/test_telemetry.py +0 -0
  62. {snowpark_checkpoints_validators-0.3.1 → snowpark_checkpoints_validators-0.3.2}/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.3.1
3
+ Version: 0.3.2
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/
@@ -27,6 +27,7 @@ from snowflake.snowpark_checkpoints.checkpoint import (
27
27
  check_input_schema,
28
28
  check_output_schema,
29
29
  validate_dataframe_checkpoint,
30
+ xvalidate_dataframe_checkpoint,
30
31
  )
31
32
  from snowflake.snowpark_checkpoints.job_context import SnowparkJobContext
32
33
  from snowflake.snowpark_checkpoints.spark_migration import check_with_spark
@@ -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.3.1"
16
+ __version__ = "0.3.2"
@@ -474,3 +474,13 @@ def test_replace_special_characters_valid(name, expected):
474
474
  def test_replace_special_characters_invalid(name):
475
475
  with raises(ValueError):
476
476
  _replace_special_characters(name)
477
+
478
+
479
+ def test_invalid_xvalidate_import():
480
+ try:
481
+ from snowflake.snowpark_checkpoints import xvalidate_dataframe_checkpoint
482
+ except ImportError as e:
483
+ assert (
484
+ str(e)
485
+ == "xvalidate_dataframe_checkpoint is not available in the specified package."
486
+ )