Description
The function url_decode can fail with the error:
org.apache.spark.SparkException: [INTERNAL_ERROR] The Spark SQL phase analysis failed with an internal error. You hit a bug in Spark or the Spark plugins you use. Please, report this bug to the corresponding communities or vendors, and provide the full stack trace. at org.apache.spark.SparkException$.internalError(SparkException.scala:89) at org.apache.spark.sql.execution.QueryExecution$.toInternalError(QueryExecution.scala:871) ... Caused by: java.lang.AssertionError: assertion failed: Incorrect number of children at scala.Predef$.assert(Predef.scala:223) at org.apache.spark.sql.catalyst.trees.TreeNode.withNewChildren(TreeNode.scala:391) at org.apache.spark.sql.catalyst.analysis.TypeCoercionBase$ImplicitTypeCasts$$anonfun$11.applyOrElse(TypeCoercion.scala:707)