Snowpark Migration Accelerator: Validation¶
To proceed with the validation process, follow the steps outlined below:
-
Copy the
snowpark-checkpoints-outputfolder, generated during the collection process, into the validation workload..png)
-
Open the validation workload in VS Code to begin the validation process.
.png)
-
Generate checkpoints using the
checkpoints.jsonfile.To generate checkpoints you can do one of the following actions:
- Generate them by accepting the suggested message:
- Execute the “Snowflake: Load All Checkpoints” command
Once all checkpoints are loaded, your files should appear as follows:
-
Run the Python file to execute the checkpoints validation process.
When running a Python file that contains validation checkpoints, the validation results will be shown in the copied “snowpark-checkpoints-output” folder as “checkpoints_validation_results.json”:
The “checkpoints_validation_results.json” contains the unified results of the validation process.
The validation results, as seen above, will contain the comparison result between the PySpark and Snowpark DataFrames.
.png)
.png)
.png)
.png)