SPRKSCL1172
org.apache.spark.sql.types.StructField.apply
Last updated
org.apache.spark.sql.types.StructField.apply
Last updated
Message: Snowpark does not support StructFiled with metadata parameter.
Category: Warning
This issue appears when the SMA detects that with as parameter. This is because Snowpark does not supported the metadata parameter.
Input
Below is an example of the org.apache.spark.sql.types.StructField.apply
function that generates this EWI. In this example, the apply
function is used to generate and instance of StructField.
Output
The SMA adds the EWI SPRKSCL1172
to the output code to let you know that metadata parameter is not supported by Snowflake.
Recommended fix
Snowpark has an equivalent function that receives three parameters. Then, as workaround, you can try to remove the metadata argument.
For more support, you can email us at or post an issue .