This issue appears when spark version of your source code is not supported. This means, there may be functional differences between the existing mappings.
Recommendations
The spark-core version supported by snowpark is 2.12:3.1.2. Considerate change the version of your source code.
For more support, you can email us at [email protected]. If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.