Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

Issue while upgrading Spark Verison from 3.3 to 3.4 in Azure Synapse Studio. #266

@ANSHUL22122001

Description

@ANSHUL22122001

While upgrading the pyspark version of sparkpools to 3.4 in Synapse Studio. We faced this error

An error occurred while calling o6063.save.\n: java.lang.NoSuchMethodError: 'org.apache.spark.sql.types.StructType org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.getSchema(java.sql.ResultSet, org.apache.spark.sql.jdbc.JdbcDialect, boolean)'\n\tat com.microsoft.sqlserver.jdbc.spark.BulkCopyUtils$.matchSchemas(BulkCopyUtils.scala:305)\n\tat com.microsoft.sqlserver.jdbc.spark.BulkCopyUtils$.getColMetaData(BulkCopyUtils.scala:266)\n\tat com.microsoft.sqlserver.jdbc.spark.Connector.write(Connector.scala:79)\n\tat com.microsoft.sqlserver.jdbc.spark.DefaultSource.createRelation(DefaultSource.scala:66)\n\tat

We have updgraded the pyspark(3.4.0) and delta-spark(2.4.0) version in requirement.txt file also but issue is same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions