cloud-fan commented on a change in pull request #23908: [SPARK-27001][SQL]
Refactor "serializerFor" method between ScalaReflection and JavaTypeInference
URL: https://github.com/apache/spark/pull/23908#discussion_r261019295
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/DeserializerBuildHelper.scala
##########
@@ -48,8 +48,8 @@ object DeserializerBuildHelper {
expr: Expression,
dataType: DataType,
nullable: Boolean,
- walkedTypePath: Seq[String],
- funcForCreatingNewExpr: (Expression, Seq[String]) => Expression):
Expression = {
+ walkedTypePath: WalkedTypePath,
+ funcForCreatingNewExpr: (Expression, WalkedTypePath) => Expression):
Expression = {
val newExpr = funcForCreatingNewExpr(expr, walkedTypePath)
Review comment:
this belongs to the previous PR: why not just let the caller side create the
expression and pass to `deserializerForWithNullSafety`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]