SPRKPY1036
pyspark.sql.column.Column.getField has a workaround
pyspark.sql.column.Column.getField has a workaround
This issue appears when the tool detects the usage of which has a workaround. Note: This workaround is deprecated because a later tool version supports the getField function as direct.
Input code:
Output code:
getField(name: Any) -> pyspark.sql.column.Column
Action: you can use the with the name of the field as the index. Example:
For more support, you can email us at . If you have a contract for support with Snowflake, reach out to your sales engineer and they can direct your support needs.