Error: [1] 'Error: org.apache.spark.SparkException: The Spark SQL phase analysis failed with an internal error. Please, fill a bug report in, and provide the full stack trace.....
Basically any operation that includes the object sc, fails with the above error, with the exception of spark_connection_is_open(sc) which yields the value TRUE.
By adding the argument method='synapse', like this:
When using a Spark Pool with version 3.3, the following piece of code provided by the documentation:
gives the following error:
Error: [1] 'Error: org.apache.spark.SparkException: The Spark SQL phase analysis failed with an internal error. Please, fill a bug report in, and provide the full stack trace.....
Basically any operation that includes the object
sc
, fails with the above error, with the exception ofspark_connection_is_open(sc)
which yields the value TRUE.By adding the argument
method='synapse'
, like this:The error does not appear any longer. However this is not reflected on the documentation.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.