Install Snowpark Checkpoints¶
To install the Snowpark Checkpoints library into a Python virtual environment, use conda (https://anaconda.org/anaconda/conda) or pip (https://pypi.org/project/pip/).
使用 conda:
conda install snowpark-checkpoints
使用 pip:
pip install snowpark-checkpoints
You can also install the packages individually:
snowpark-checkpoints-collectors: Use this package to collect information about PySpark DataFrames.
使用 conda:
conda install snowpark-checkpoints-collectors
使用 pip:
pip install snowpark-checkpoints-collectors
snowpark-checkpoints-hypothesis: Use this package to create unit tests for your Snowpark code based on synthetic data automatically generated, following the DataFrame schemas collected from the original PySpark code.
使用 conda:
conda install snowpark-checkpoints-hypothesis
使用 pip:
pip install snowpark-checkpoints-hypothesis
snowpark-checkpoints-validators: Use this package to validate your converted Snowpark DataFrames against the collected schemas or exported DataFrames generated by the collector functionality.
使用 conda:
conda install snowpark-checkpoints-validators
使用 pip:
pip install snowpark-checkpoints-validators
snowpark-checkpoints-configuration: Use this package to allow
snowpark-checkpoints-collectorsandsnowpark-checkpoints-validatorsto automatically load the configuration of the checkpoints.使用 conda:
conda install snowpark-checkpoints-configuration
使用 pip:
pip install snowpark-checkpoints-configuration