Kousuke Saruta created SPARK-32214: -------------------------------------- Summary: The type conversion function generated in makeFromJava for "other" type uses a wrong variable. Key: SPARK-32214 URL: https://issues.apache.org/jira/browse/SPARK-32214 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 3.0.0, 2.4.6, 3.1.0 Reporter: Kousuke Saruta Assignee: Kousuke Saruta
`makeFromJava` in `EvaluatePython` create a type conversion function for some Java/Scala types. For `other` type, the parameter of the type conversion function is named `obj` but `other` is mistakenly used rather than `obj` in the function body. {code:java} case other => (obj: Any) => nullSafeConvert(other)(PartialFunction.empty) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org